Level 75
Route::has()
still exists in Laravel 7
https://laravel.com/api/7.x/Illuminate/Routing/Router.html#method_has
1 like
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello good day.
Can someone please help me out, I want to check if a route exists and also if a url belongs to the site domain.
I have tried Route::has(), it has been removed in Laravel 7.
Thanks
Route::has()
still exists in Laravel 7
https://laravel.com/api/7.x/Illuminate/Routing/Router.html#method_has
Please or to participate in this conversation.