Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

farahandev's avatar

How to get a particular route list?

I know, php artisan route:list return the list of the route of my entire application. However, how can I get a particular route?

For example, I just want to get all the route lists that's route name is user.

Any idea?

0 likes
4 replies
farahandev's avatar

Thank you.

This --name refer to the which name?

Please or to participate in this conversation.