+88 01797-506292

Post Date: February 28, 2019
Posted By: admin

Use this code in your blade file to get current_controller name and route at easily

    $current_route = Route::getFacadeRoot()->current()->uri();
    $current_controller = class_basename(Route::current()->controller)

One response to “Get Laravel 5.* controller name and route in blade file”

  1. 增大网 says:


Leave a Reply

Your email address will not be published. Required fields are marked *