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