@php $currentRouteName = request()->route()->getName(); $currentRouteParameters = request()->route()->parameters(); @endphp