Description
PHP Service Bus is a framework for asynchronous messaging in PHP, built on Amp for cooperative multitasking. It implements a publish and subscribe pattern and includes a message bus. It also supports long-lived business transactions through the Saga pattern, for example a checkout that spans several steps. Messages can be handled by different applications, and subscribers can be written in any language. The project lists full history of aggregate changes through event sourcing among its features. The README says you can build a first distributed solution from the Quick Start in about 15 minutes. Documentation is kept in the .documentation directory, and it covers installation. The framework requires PHP 8.1 or newer, RabbitMQ, Redis or NSQ, and PostgreSQL. Contributions are welcome, and the project is under the MIT License. Help is available in a Russian-language Telegram chat, on Twitter, and through GitHub issues.…
Highlights
- Asynchronous publish and subscribe messaging
- Saga pattern for long-lived business transactions
- Event-driven architecture across applications
- Event sourcing history of aggregate changes
- Built on Amp for cooperative multitasking
Ratings & Reviews
No ratings yet
Be the first to rate Service Bus.
People also visit
Service Bus FAQ
What is PHP Service Bus?
A PHP framework for asynchronous messaging, with publish and subscribe, a message bus and Saga support for long transactions.
What does it need?
PHP 8.1 or newer, a broker such as RabbitMQ, Redis or NSQ, and PostgreSQL, according to the README.
Where do I start?
The Quick Start in the README, which the project says gets you to a first distributed solution in about 15 minutes. Installation docs are in the .documentation directory.
What license applies?
The MIT License.
What are the best Service Bus alternatives?
Popular alternatives to Service Bus include SlimMessageBus, Servicebus and NServiceBus. See all Service Bus alternatives

