Pretty Routes for Laravel is a package to display Laravel routes in the console, but make it pretty:
Using this package is simple—install it via composer, and you have access to a new route:pretty
Artisan command:
1composer require wulfheart/pretty_routes2 3# Or require as a dev dependency if you want4composer require --dev wulfheart/pretty_routes
Then you have a similar API to the route:list
command to visualize your routes with a beautiful CLI formatting for max readability and helpful information:
1php artisan route:pretty2 3# Example with options4php artisan route:pretty \5 --except-path=horizon \6 --method=POST \7 --reverse
Here's an example of the output from the project's readme:
You can learn more about this package, get full installation instructions, and view the source code on GitHub.
0 comments:
Post a Comment
Thanks