laravel checking routes code example Example: laravel is route name // Check if route is *** Request::route()->named("YourRouteNameView")