webware / message-bus
MessageBus for Mezzio
Requires
- php: ~8.4.1 || ~8.5.0
- psr/container: ^2.0
Requires (Dev)
- laminas/laminas-servicemanager: ^4.0.0
- php-standard-library/type: ^6.2
- phpunit/phpunit: ^12.5.30
- roave/backward-compatibility-check: ^8.21.0
- roave/security-advisories: dev-master
Suggests
- laminas/laminas-servicemanager: Laminas\ServiceManager component
This package is auto-updated.
Last update: 2026-08-03 02:01:34 UTC
README
A command/query message bus for Mezzio and other PSR-11 based applications. Messages (commands or queries) are dispatched through a configurable middleware pipeline to their mapped handler, and a result flows back out through that same pipeline.
Installation
composer require webware/message-bus
Registers itself as a Laminas/Mezzio config provider (Webware\MessageBus\ConfigProvider) via
composer's extra.laminas.config-provider.
Documentation
Full documentation lives in docs/v1:
Testing
composer test # unit tests composer test-integration # integration tests composer test-all # both
Acknowledgments
The middleware pipeline design in this package is directly inspired by, and mirrors the mechanics of, the PSR-15-style pipeline used in mezzio/mezzio.
This package was built for the Laminas/Mezzio ecosystem and its users, and that debt is gladly owed — credit belongs with the Laminas/Mezzio maintainers and contributors for the original design. See mezzio/mezzio and its LICENSE (BSD-3-Clause) for the source of that inspiration.
License
BSD-3-Clause