newrelic laravel route names code example
Example 1: laravel is route name
// Check if route is ***
Request::route()->named("YourRouteNameView")
Example 2: laravel route namespace and prefix
use App\Models\User;
Route::get('/users/{user}', function (User $user) {
return $user->email;
});