Component-by-component reference for everything under src/. Interfaces are tagged in their docblocks as @api (a public contract consumers implement/call directly) or @internal (wiring/glue that consumers should not depend on directly).

  • Message Bus & Core Contracts: MessageBusInterface, MessageBus, MessageInterface, MessageHandlerInterface, ResultInterface, StatusInterface/MessageStatus, and handler resolution.

  • Middleware Pipeline: MiddlewarePipe, Next, MiddlewareInterface, PipelineHandlerInterface, and the built-in MessageHandlerMiddleware/EmptyPipelineHandler.

  • Commands & Queries: the Command\ and Query\ namespaces.

  • Strategy: StrategyInterface, HandleStrategy, and ClassnameStrategy.

  • Configuration & Container Integration: ConfigProvider and the PSR-11 factories, with code samples.

  • Exceptions: the exception types thrown by this library.