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