Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

sasafister's avatar

Php artisan route:list returns nothing

So if i run php artisan, it show's me all things you can do with command, but if i run "php artisan route:list" or "php artisan make:controller XY Controller" it returns blank row. Anyone knows where is the problem?

0 likes
6 replies
brunog's avatar

Do you have the routes cached?

Try to run php artisan route:clear and then try again the route:list command, otherwise you probably don't have any routes registered.

sasafister's avatar

I tried that @brunog but it won't work. Routes are fine, everything works normal

1 like
Snapey's avatar

What folder are you in when you run it?

skeith22's avatar

@SASAFISTER I have this right now v.5.5.34 route:list returns nothings. tried composer dumpautoload, route:clear and route:cache still nothing.

what did you do?

1 like
philxtian's avatar

Did anyone figure out how to resolve this issue? I'm using "Laravel Framework 5.6.39" and I'm experiencing this one right now.

php artisan route:list returns nothing.

psyao's avatar

Perhaps a forgotten dd() or exit() somewhere in your code ?

4 likes

Please or to participate in this conversation.