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."
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community