Package Data | |
---|---|
Maintainer Username: | nilpahar |
Maintainer Contact: | jbhasan@gmail.com (Hasan Sayeed) |
Package Create Date: | 2020-11-17 |
Package Last Update: | 2020-11-17 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-12-17 03:08:35 |
Package Statistics | |
---|---|
Total Downloads: | 855 |
Monthly Downloads: | 9 |
Daily Downloads: | 0 |
Total Stars: | 4 |
Total Watchers: | 1 |
Total Forks: | 2 |
Total Open Issues: | 0 |
This package will help to display all the registered route list like laravel.
Via Composer
$ composer require sayeed/lumen-route-list
Open bootstrap/app.php and add the line below
$app->register(Sayeed\LumenRouteList\LumenRouteListProvider::class);
php artisan route:list
to display the route listphp artisan route:list --method=searchKeyword --uri=searchKeyword
--reverse
or -r
Filtering example given below:
php artisan route:list --method=post
#The above example will filter all the routes with post method#
or
php artisan route:list --name=users
#The above example will filter all the routes which name contains *user* keyword#
or
php artisan route:list --name=users --method=get --uri=api/v1
#This above example will filter all the routes where name matches users, method matches get and uri matches api/v1
or to display in reverse order use
php artisan route:list --name=users -r
The lumen-route-list is a open-source software licensed under the MIT License.
For any questions, you can reach out to the author of this package, Md. Hasan Sayeed.
Thank you for using it :)