getroutename laravel code example Example: laravel get current route name Route::getCurrentRoute()->getActionName();