Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wulfheart/pretty-routes
Display your Laravel routes in the console, but make it pretty. 😎
https://github.com/wulfheart/pretty-routes
artisan artisan-command console laravel laravel-framework routes
Last synced: about 20 hours ago
JSON representation
Display your Laravel routes in the console, but make it pretty. 😎
- Host: GitHub
- URL: https://github.com/wulfheart/pretty-routes
- Owner: Wulfheart
- License: mit
- Created: 2021-04-19T19:29:28.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-01-19T19:50:58.000Z (about 3 years ago)
- Last Synced: 2024-10-29T17:14:15.725Z (3 months ago)
- Topics: artisan, artisan-command, console, laravel, laravel-framework, routes
- Language: PHP
- Homepage:
- Size: 1.64 MB
- Stars: 628
- Watchers: 6
- Forks: 32
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Pretty Routes for Laravel
[![Latest Version on Packagist](https://img.shields.io/packagist/v/wulfheart/pretty_routes.svg?style=flat-square)](https://packagist.org/packages/wulfheart/pretty_routes)
[![Total Downloads](https://img.shields.io/packagist/dt/wulfheart/pretty_routes.svg?style=flat-square)](https://packagist.org/packages/wulfheart/pretty_routes)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](https://github.com/laravel/framework/pull/40269). Thanks for the support! ⭐
## Installation
You can install the package via composer:
```bash
composer require wulfheart/pretty_routes
```## Usage
```bash
php artisan route:pretty
```
or```bash
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](CHANGELOG.md) 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
- [Alexander Wulf](https://github.com/Wulfheart)
- [Tom Witkowski](https://github.com/Gummibeer)
- [Matt Staufer](https://github.com/mattstauffer)
- [Bhushan Gaikwad](https://github.com/bhushan)
- [Edward Akerboom](https://github.com/infostreams)## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.