Home

Awesome

Pretty Routes for Laravel

Latest Version on Packagist Total Downloads

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

<img src="https://user-images.githubusercontent.com/25671390/116441604-e0aa3300-a851-11eb-9e98-a59ff356c9dc.png"/>

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

<img src="https://user-images.githubusercontent.com/25671390/116859537-6cc8ab80-ac00-11eb-9376-e6baee12ace8.png"/>

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.