@php function isActive($path) { return Request::path() == $path ? 'active' : ''; } @endphp