A command/query message bus for Mezzio/PSR-11 applications. A message
(command or query) is handed to a MessageBusInterface, which runs it through a middleware pipeline.
The final middleware in that pipeline resolves and invokes the appropriate handler, and the result
flows back out through the pipeline as a ResultInterface. See Execution Flow
for diagrams of how a message moves through the pipeline and back.
Contents
-
Execution Flow: diagrams of message dispatch and result flow through the pipeline.
-
Getting Started: installation, requirements, and wiring the bus into your application.
-
Usage Examples: defining commands/queries and handlers, dispatching messages, and writing custom middleware.
-
API Reference: what each class/interface does, grouped by area:
-
Benchmark Results: pipeline dispatch performance measured with PHPBench.
-
Contributing: running tests, quality tooling, and CI expectations.