Event integration for webware/message-bus, built on top of
phly/phly-event-dispatcher (PSR-14). It adds pre/post
"handle" events for both Command and Query messages, dispatched via middleware in the bus pipeline. Query
events are opt-in; Command events are wired into the default pipeline.
composer require webware/messagebus-event webware/message-busFull documentation lives under docs/v1/:
- Getting Started — requirements, installation, and wiring a
ServiceManager. - Usage Examples — registering listeners, opting in to Query events, custom events, stopping propagation.
- API Reference — every public class, interface, trait, and the
ConfigProviderconfig shape. - Contributing — local setup, running tests, and static analysis.
composer install
composer test-all # unit + integration tests
composer bench # PHPBench benchmarks (bench/)
mago format && mago lint && mago analyzeSee Contributing for details.