get action name in laravel 6 code example Example: laravel get current action name echo Route::getCurrentRoute()->getActionName();