how to active menu in laravel code example
Example: laravel active menu item
// check using uri
<li class="{{ request()->is('sites/*/edit') ? 'active' : '' }}"
// or,
// check using route name
<li class="{{ request()->routeIs('sites/*/edit') ? 'active' : '' }}"