diff --git a/routing.md b/routing.md index 743b23b1465..fa5f4a28123 100644 --- a/routing.md +++ b/routing.md @@ -140,6 +140,12 @@ By default, the route middleware that are assigned to each route will not be dis php artisan route:list -v ``` +You may also instruct Laravel to only show routes that begin with a given URI: + +```shell +php artisan route:list --path=api +``` + In addition, you may instruct Laravel to hide any routes that are defined by third-party packages by providing the `--except-vendor` option when executing the `route:list` command: ```shell