Making artisan route:list
works in Lumen apps.
This forked version was intended to support latest Lumen versions.
It was due to the original package from appzcoder/lumen-routes-list supports only up to Lumen 6.
-
Run
composer require wakjoko/lumen-routes-list
-
Add service provider into /bootstrap/app.php file.
$app->register(Wakjoko\LumenRoutesList\RoutesCommandServiceProvider::class);
-
Run
composer dump-autoload
php artisan route:list