get route name from blade code example Example 1: laravel get current route name Route::currentRouteName() Example 2: get current route in blade laravel Path: post/demo