laravel execute sql command code example Example: db name laravel DB::connection()->getDatabaseName() //laravel