success([ 'status' => 'ok', 'service' => 'laverie-api', 'timezone' => config('app.timezone'), 'timestamp' => now()->toIso8601String(), ]); } public function database(): JsonResponse { try { DB::select('SELECT 1'); return $this->success([ 'status' => 'ok', 'database' => config('database.default'), 'timestamp' => now()->toIso8601String(), ]); } catch (Throwable $e) { return $this->error('Database connection failed', 503, [ 'database' => ['Connection unavailable'], ]); } } }