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
  • json - Output the route list as JSON Optional
  • method - Filter the routes by method Optional
  • name - Filter the routes by name Optional
  • path - Filter the routes by path Optional
  • reverse - Reverse the ordering of the routes Optional
  • sort - The column (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]] [-r|--reverse] [--sort [SORT]]