yiisoft/yii-event
PSR-14 event dispatcher for Yii Framework. Register listeners in DI container config files, bind callables or service methods to events, and dispatch type-safe events through a lightweight, framework-integrated implementation.
yiisoft/yii-event provides a PSR-14 compliant event dispatcher for the Yii framework, enabling decoupled, event-driven application architecture. It integrates seamlessly with the Yii dependency injection container, allowing listeners to be resolved and configured declaratively.
Listeners can be registered via flexible listener providers and configured through container definitions, supporting both callables and invokable classes with automatic dependency resolution.
EventDispatcherInterface implementationHow can I help you explore Laravel packages today?