mlntn / lumen-artisan-route-list by mlntn

artisan route:list for Lumen projects
623
0
2
Package Data
Maintainer Username: mlntn
Maintainer Contact: jared@mellentine.com (Jared Mellentine)
Package Create Date: 2016-02-29
Package Last Update: 2016-02-29
Language: PHP
License: MIT
Last Refreshed: 2024-12-23 03:13:39
Package Statistics
Total Downloads: 623
Monthly Downloads: 2
Daily Downloads: 0
Total Stars: 0
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

artisan route:list... for Lumen

artisan route:list for Lumen projects

Installation

  1. composer require mlntn/lumen-artisan-route-list "~1"

  2. Add the following line to the $commands array in app/Console/Kernel.php:

    \Mlntn\Console\Commands\RouteList::class,

  3. artisan route:list

Disclaimer

I didn't write most of this code. It comes straight from laravel/framework by @taylorotwell. I did have to tweak a bunch of things to get it going for Lumen. Enjoy!