0

I wonder if there is any way in Laravel to get all running middlewares in a route.

For example: - I want to know in route "/example", if I can easily check which are all involved Middlewares that are called.

Thanks!

Facundo Fasciolo
  • 452
  • 4
  • 15

1 Answers1

4

artisan route:list --path=example will list the route details including middleware and the controller.

Devon Bessemer
  • 34,461
  • 9
  • 69
  • 95