Framework: route:list output is unreadable

Created on 10 Jun 2020  路  7Comments  路  Source: laravel/framework


  • Laravel Version: 7.15.0
  • PHP Version: 7.3.8
  • Database Driver & Version: Maria DB

Description:

The command php artisan route:list returns an unreadable output in the bash.

Steps To Reproduce:

command line: php artisan route:list

Most helpful comment

If this is still annoying people, try: php artisan route:list --compact

or, you can use whatever columns you need: php artisan route:list --columns=method,name,uri,action

With that said, there should still be an option to show the middleware column as it was before (using the middleware keys).

All 7 comments

Works perfectly for me.

Try zooming out a bit to prevent line wrap.

Ok, now i got it. It's the new last line with the Middleware, who needs a lot more space. It is possible with an argument to show it like before 7.13?

This is caused by the line wrap.
It's unreadable within VS Code but works fine in a separate full screen terminal.

just stumpled apon this. Anyone know why we need the full name of the middleware?
Route:list now becomes hard to read on many middlewares.
Currently I'm specifined --columns=method,action,name,uri,action each and everytime to be able the get a quick look at the routes.
Shouldn't we add a switch to get the old behaviour of the middleware display so we don't need 10 Lines per route?

If this is still annoying people, try: php artisan route:list --compact

or, you can use whatever columns you need: php artisan route:list --columns=method,name,uri,action

With that said, there should still be an option to show the middleware column as it was before (using the middleware keys).

If this is still annoying people, try: php artisan route:list --compact

or, you can use whatever columns you need: php artisan route:list --columns=method,name,uri,action

With that said, there should still be an option to show the middleware column as it was before (using the middleware keys).

Currently using -c (--compact) all the time. Frustrating to have to always add a parameter

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kerbylav picture kerbylav  路  3Comments

iivanov2 picture iivanov2  路  3Comments

SachinAgarwal1337 picture SachinAgarwal1337  路  3Comments

felixsanz picture felixsanz  路  3Comments

klimentLambevski picture klimentLambevski  路  3Comments