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