laravel sidebar menu active
snippet in php

laravel sidebar menu active

user9112

{{  request()->routeIs('news.*') ? 'active' : '' }}