Laravel Module routes list

David Carr

1 min read - 26th May, 2019

I build all my projects with modules using this package https://github.com/nWidart/laravel-modules

There are times it would be useful to see all routes but limited to a specific module.

To list all routes for a specific module use grep 'Modules\Name' after the route:list command

php artisan route:list | grep 'Modules\\Blog'

 

0 comments
Add a comment

Copyright © 2024 DC Blog - All rights reserved.