route:list

List all registered routes

Options

  • columns - Columns to include in the route table Optional
  • compact - Only show method, URI and action columns Optional
  • except-path - Do not display the routes matching the given path pattern Optional
  • json - Output the route list as JSON Optional
  • method - Filter the routes by method Optional
  • name - Filter the routes by name Optional
  • path - Only show routes matching the given path pattern Optional
  • reverse - Reverse the ordering of the routes Optional
  • sort - The column (precedence, domain, method, uri, name, action, middleware) to sort by Optional
php artisan route:list [--columns [COLUMNS]] [-c|--compact] [--json] [--method [METHOD]] [--name [NAME]] [--path [PATH]] [--except-path [EXCEPT-PATH]] [-r|--reverse] [--sort [SORT]]