List of routes filtering the routes defined in vendor packages in Laravel

- Andrés Cruz

En español

List of routes filtering the routes defined in vendor packages in Laravel

We already know how we can see the routes in Laravel through artisan with:

php artisan route:list

And its shortcut:

php artisan r:l

See only the routes of our application

But, what happens if we want to see only the routes of our application and not those generated by third parties; For that, we have the following option:

php artisan r:l --exept-vendor

With this command, we can see all the routes except for the routes generated by third parties.

I agree to receive announcements of interest about this Blog.

We will know how we can exclude the routes generated by third parties in the vendor, in Laravel with artisan.

- Andrés Cruz

En español