In Laravel 5.2, trying to display the routes list using php artisan routes
. But, its not working. It will show the below errors,
[Symfony\Component\Console\Exception\CommandNotFoundException]
Command "routes" is not defined.
How to fix this issue??
Thanks
It is php artisan route:list
since Laravel 5.1
UPDATE
It seems you're using Lumen, not Laravel. Unfortunately there are not many commands in Lumen, so if you really need to use them, you can create them or just use Laravel framework instead of Lumen.
Or you can use package like:
https://github.com/sohelamin/lumen-route-list
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With