For starters: Thank you for creating this extension for lumen. I'm trying out lumen to strip down an existing Laravel app and I'm immediately missing a few things. This extension helps fill the gap - so thanks so far.
On to issue at hand:
Expected behavior:
Run php artisan route:list to get a table of configured routes
What's happening?:
I get the following error:
[Symfony\Component\Debug\Exception\FatalThrowableError]
Call to undefined method Laravel\Lumen\Application::getRoutes()
Note: I have the Lumen 5.5 patch applied from @joelhy 's lumen5.5_compatiblity fork + branch.
To resolve:
The RouteListCommand.php appears to reference getRoutes() directly on the $laravel property.
For starters: Thank you for creating this extension for lumen. I'm trying out lumen to strip down an existing Laravel app and I'm immediately missing a few things. This extension helps fill the gap - so thanks so far.
On to issue at hand:
Expected behavior:
php artisan route:list
to get a table of configured routesWhat's happening?:
Note: I have the Lumen 5.5 patch applied from @joelhy 's lumen5.5_compatiblity fork + branch.
To resolve:
The RouteListCommand.php appears to reference getRoutes() directly on the $laravel property.
At the moment the offending line is:
$routeCollection = $this->laravel->getRoutes();
...but it should be:
$routeCollection = $this->laravel->router->getRoutes();
Given this is already forked, please could @joelhy or another maintainer merge this in as part of the 5.5 compatibility efforts?:
Thanks! Barry