(string) config('projectsend.version'), 'edition' => $this->capabilities->edition()->value, 'php' => PHP_VERSION, 'laravel' => app()->version(), 'database' => $this->database(), ]; } private function database(): string { try { $version = (string) (DB::selectOne('select version() as v')->v ?? ''); } catch (\Throwable) { $version = ''; } return trim(DB::connection()->getDriverName().' '.$version); } }