Skip to content

Commit 3ea52fd

Browse files
[10.x] Docs for route:list -vv (#9077)
* Add docs for expandable middleware group via `php artisan route:list -vv` (laravel/framework#48703) * Improve wording * Formatting * Wording * Update routing.md --------- Co-authored-by: Taylor Otwell <[email protected]>
1 parent f337900 commit 3ea52fd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

routing.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,13 @@ The `route:list` Artisan command can easily provide an overview of all of the ro
137137
php artisan route:list
138138
```
139139

140-
By default, the route middleware that are assigned to each route will not be displayed in the `route:list` output; however, you can instruct Laravel to display the route middleware by adding the `-v` option to the command:
140+
By default, the route middleware that are assigned to each route will not be displayed in the `route:list` output; however, you can instruct Laravel to display the route middleware and middleware group names by adding the `-v` option to the command:
141141

142142
```shell
143143
php artisan route:list -v
144+
145+
# Expand middleware groups...
146+
php artisan route:list -vv
144147
```
145148

146149
You may also instruct Laravel to only show routes that begin with a given URI:

0 commit comments

Comments
 (0)