wulfheart/pretty_routes

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

0.3.0 2021-05-03 09:19 UTC

This package is auto-updated.

Last update: 2024-10-20 02:37:40 UTC


README

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.