Support the ongoing development of Laravel.io →
posted 10 years ago
Architecture

Morning,

dumb title with dumb question :

as router.before and router.after are not fired anymore, how do you simulate, at least the router.after with a response ?

thanks in advance !

Last updated 3 years ago.
0

About 2/3's down this page http://mattstauffer.co/blog/laravel-5.0-middleware-replacing-filters he explains how to use before/after Middleware (replacement for filters). Seems a bit more involved than in L4.

Last updated 3 years ago.
0

Sign in to participate in this thread!

PHPverse

Your banner here too?

devsharpen devsharpen Joined 18 Mar 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.

© 2025 Laravel.io - All rights reserved.