handmadeweb/hookable-actions-filters
Add WordPress-style actions and filters to Laravel. Register hooks, fire actions to run callbacks at key points, and pass values through filter chains to modify them safely. A lightweight way to build extensible, plugin-friendly Laravel apps without touching core code.
Hookable Actions & Filters adds a WordPress-style hooks system to Laravel and standalone PHP applications. Register actions and filters at named hook points, then attach listeners that execute when those points fire—keeping extension logic decoupled from core code.
Actions handle side effects, while filters pass values through a chain of callbacks and return the modified result. The API is small and framework-agnostic, making it easy to add extensibility points to your package or application.
How can I help you explore Laravel packages today?