laravel how to find database connection details code example Example: check which database connect laravel DB::connection();