laravel eloquent getpdo code example Example: db name laravel DB::connection()->getDatabaseName() //laravel