Skip to content

Display your Laravel routes in the console, but make it pretty. 😎

License

Notifications You must be signed in to change notification settings

Wulfheart/pretty-routes

Repository files navigation

Pretty Routes for Laravel

Latest Version on Packagist Total Downloads

Display your Laravel routes in the console, but make it pretty. 😎

Note

With the arrival of Laravel 9 this package is going to be deprecated as the functionality will already be integrated in the framework as per this PR. Thanks for the support! ⭐

Installation

You can install the package via composer:

composer require wulfheart/pretty_routes

Usage

php artisan route:pretty

or

php artisan route:pretty --except-path=horizon --method=POST --reverse
php artisan route:pretty --only-path=app --method=POST --reverse
php artisan route:pretty --only-name=app --method=POST 
php artisan route:pretty --only-name=app --method=POST --group=path --reverse-group
php artisan route:pretty --only-name=app,horizon,debugbar --except-path=foo,bar --group=name --reverse

Advanced Example

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Feel free to open an issue or a PR. Discussions are disabled right now as there shouldn't be too much need for discussion and it can happen in the issues.

Credits

License

The MIT License (MIT). Please see License File for more information.