Artisan.page

route:list

List all registered routes

Terminal
php artisan route:list [--columns [COLUMNS]] [-c|--compact] [--json] [--method [METHOD]] [--name [NAME]] [--path [PATH]] [--except-path [EXCEPT-PATH]] [-r|--reverse] [--sort [SORT]]

Options

columnsOptional

Columns to include in the route table

compactOptional

Only show method, URI and action columns

except-pathOptional

Do not display the routes matching the given path pattern

jsonOptional

Output the route list as JSON

methodOptional

Filter the routes by method

nameOptional

Filter the routes by name

pathOptional

Only show routes matching the given path pattern

reverseOptional

Reverse the ordering of the routes

sortOptional

The column (precedence, domain, method, uri, name, action, middleware) to sort by