Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道 Laravel 中是否有任何方法可以将所有正在运行的中间件放在一条路由中。
例如: - 我想知道在路由“/example”中,我是否可以轻松检查哪些所有涉及的中间件都被调用。
谢谢!
artisan route:list --path=example将列出路由详细信息,包括中间件和控制器。
artisan route:list --path=example