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