morrislaptop/laravel-route-menu

Your route:list, sir.

v0.2.1 2021-03-25 23:16 UTC

This package is auto-updated.

Last update: 2024-11-29 06:41:13 UTC


README

Your route:list, sir.

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

route:menu gives you a beautiful route list which is friendly on smaller terminals and brings a few new features in.

route:menu

Features:

  • Shows all routes in a list view for smaller terminals
  • Groups routes by namespace or filename for easy navigating
  • Extracts parameters and their types
  • Displays an IDE friendly file path for code jumping ๐ŸŒŸ
  • Extra support for Route::redirect and Route::view methods
  • Additional file filter to only show relevant routes by filename / namespace
  • Lots of ๐Ÿท๏ธ, ๐ŸŽฌ, ๐Ÿคน, ๐Ÿง…, โ˜•๏ธ, ๐Ÿฐ, ๐Ÿ›ซ, ๐Ÿ‘€, โšก, โ˜๏ธ, ๐ŸŒ™, ๐ŸŒ…, ๐Ÿ”ญ, ๐Ÿ’ต, ๐Ÿ”, ๐Ÿ›‚, ๐Ÿ‘จโ€๐Ÿš€๏ธ

Installation

You can install the package via composer:

composer require morrislaptop/laravel-route-menu --dev

Usage

php artisan route:menu

In addition to the name, method and path filters on route:list, an additional file filter is supported which will filter the routes based on the namespace (for classes) or file (for Closures).

php artisan route:menu --file=app

Testing

composer test

Changelog

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

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

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