Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Before After Bundle

Before After Bundle Laravel Package

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.

View on GitHub
Deep Wiki
Context7

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.

  • Implements per-controller before-action hooks via a single interface
  • Keeps controllers clean while sharing logic across actions
  • Works with Symfony's FilterControllerEvent
  • Simple Composer installation and bundle registration

Note: after-action functionality is still listed as a TODO.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core