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