morrislaptop / laravel-route-menu
Your route:list, sir.
Fund package maintenance!
morrislaptop
Installs: 3 502
Dependents: 0
Suggesters: 0
Security: 0
Stars: 57
Watchers: 2
Forks: 3
Open Issues: 0
Requires
- php: ^7.4|^8.0
- illuminate/contracts: ^7.0|^8.0
- spatie/laravel-package-tools: ^1.4.3
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.18
- livewire/livewire: ^2.4
- orchestra/testbench: ^5.0|^6.13
- phpunit/phpunit: ^9.3
- spatie/laravel-ray: ^1.17
- vimeo/psalm: ^4.4
This package is auto-updated.
Last update: 2024-10-29 06:18:56 UTC
README
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 ๐ท๏ธ, ๐ฌ, ๐คน, ๐ง , โ๏ธ, ๐ฐ, ๐ซ, ๐, โก, โ๏ธ, ๐, ๐ , ๐ญ, ๐ต, ๐, ๐, ๐จโ๐๏ธ
Installation
You can install the package via composer:
composer require morrislaptop/laravel-route-menu --dev
Usage
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
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.