Laravel Module routes list

David Carr

Laravel Framework Tutorials PHP & MySQL

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'

 

Copyright © 2006 - 2024 DC Blog - All rights reserved.