expertcoder/before-after-bundle
A Symfony 2/3 bundle that runs code before every action in a controller. Implement ExecuteBeforeInterface on your controller and put logic in executeBefore() to execute automatically before any action method is invoked.
BeforeAfterBundle is a lightweight Symfony 2/3 bundle that lets you run code before every action in a specific controller. Instead of duplicating logic or wiring up event listeners, simply implement the ExecuteBeforeInterface and place your shared logic inside executeBefore(), which receives the FilterControllerEvent.
FilterControllerEventNote: after-action functionality is still listed as a TODO.
How can I help you explore Laravel packages today?