webware / messagebus-event
Phly EventDispatcher support for MessageBus
0.1.x-dev
2026-08-05 03:22 UTC
Requires
- php: ~8.4.1 || ~8.5.0
- laminas/laminas-servicemanager: ^4.0.0
- phly/phly-event-dispatcher: ^1.5.0
- php-standard-library/type: ^6.2
- webware/webware-psl-type: ^0.1.x-dev
Requires (Dev)
- php-coveralls/php-coveralls: ^2.7
- phpbench/phpbench: ^1.7
- phpunit/phpunit: ^12.5.30
- roave/security-advisories: dev-master
- webware/message-bus: ^0.1.0
This package is auto-updated.
Last update: 2026-08-05 05:29:50 UTC
README
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.
Installation
composer require webware/messagebus-event webware/message-bus
Documentation
Full 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.
Development
composer install composer test-all # unit + integration tests composer bench # PHPBench benchmarks (bench/) mago format && mago lint && mago analyze
See Contributing for details.