Your route:list
, sir.
route:menu
gives you a beautiful route list which is friendly on smaller terminals and brings a few new features in.
Features:
- Shows all routes in a list view for smaller terminals
- Groups routes by namespace or filename for easy navigating
- Extracts parameters and their types
- Displays an IDE friendly file path for code jumping 🌟
- Extra support for
Route::redirect
andRoute::view
methods - Additional
file
filter to only show relevant routes by filename / namespace - Lots of 🏷️, 🎬, 🤹, 🧅, ☕️, 🏰, 🛫, 👀, ⚡, ☁️, 🌙, 🌅, 🔭, 💵, 🔐, 🛂, 👨🚀️
You can install the package via composer:
composer require morrislaptop/laravel-route-menu --dev
php artisan route:menu
In addition to the name
, method
and path
filters on route:list
, an additional file
filter is supported which will filter the routes based on the namespace (for classes) or file (for Closures).
php artisan route:menu --file=app
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.