laravel get ser_name code example Example: db name laravel DB::connection()->getDatabaseName() //laravel