This package contains generic classes and interfaces which can be used to create message buses, like a command bus or an event bus.
eloipoch/MessageBus
Generic classes and interfaces for messages and message buses. Full documentation can be found here:
PHPMIT