first(); return $setting ? $setting->value : $default; } public static function set(string $key, mixed $value): void { static::updateOrCreate(['key' => $key], ['value' => $value]); } }