Black Friday sale is now on! 50% off Laravel: The Modular Way. Learn more

Laravel Module routes list

David Carr

Laravel Framework PHP & MySQL Tutorials

    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'

     

    Laravel Modules Book by David Carr

    Help support the blog so that I can continue creating new content!

    Subscribe to my newsletter

    Subscribe and get my books and product announcements.

    © 2009 - 2022 DC Blog. All code MIT license. All rights reserved.