active and inactive menu in laravel blade code example Example: laravel sidebar menu active {{ request()->routeIs('news.*') ? 'active' : '' }}