Laravel - There is any way to get all running middlewares?

1498 views php
5

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!

answered question

2 Answers

0

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

posted this
11

artisan route:list --path=example will list de routes detials.

posted this

Have an answer?

JD

Please login first before posting an answer.

Ads

Categories