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.
composer require webware/message-busRegisters itself as a Laminas/Mezzio config provider (Webware\MessageBus\ConfigProvider) via
composer's extra.laminas.config-provider.
- Join our Discord to ask questions, report bugs, or discuss the library with the maintainers and other users. Please post support questions in the
#message-buschannel. - Report bugs or request features via GitHub Issues
Full documentation lives in docs/v1:
composer test # unit tests
composer test-integration # integration tests
composer test-all # bothThe 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.
BSD-3-Clause