Support the ongoing development of Laravel.io →
Requests Architecture
Last updated 2 years ago.
0

I was thinking the same...

This article written by Matt is excellent. If you read well, he's explaining about the differences between filters and middlewares on his conclusion.

"Filters are a little easier a jump from our normal thinking about controller route requests. But middleware—the concept of the stack which passes along only a request, allowing it to be decorated piece by piece--is cleaner, simpler, and more flexible."

0

Sign in to participate in this thread!

Eventy

Your banner here too?

felipedmz felipedmz Joined 17 Oct 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.