mmasiukevich/service-bus

This package is abandoned and no longer maintained. The author suggests using the php-service-bus/service-bus package instead.

PHP Service Bus (publish-subscribe pattern)


README

Build Status Code Coverage Scrutinizer Code Quality SensioLabs Insight Latest Stable Version Latest Unstable Version Total Downloads License

What is it?

A concurrency (based on Amp) framework, that lets you implement an asynchronous messaging, a transparent workflow and control of long-lived business transactions by means of the Saga pattern. It implements the message based architecture and it includes the following patterns: Saga, CQRS, Publish\Subscribe, Message Bus.

Scope of use

Basically, it is suitable for development of distributed applications. By using the Message Bus and Saga pattern it lets you decrease the coupling of contexts.

Performance

Performance comparison with the "symfony/messenger"

Get started

composer create-project mmasiukevich/service-bus-skeleton my-project

Demo application (WIP): service-bus-demo

Main Features

  • Asynchronous messaging
  • Distribution (messages can be handled by different processes).
    • Subscribers can be implemented on any programming language.
  • Orchestration of long-lived business transactions (for example, a checkout) with the help of Saga Pattern
  • Full history of aggregate changes (EventSourcing)
  • Decrease of the coupling between the components (contexts)

Documentation

Russian version

Requirements

Security

If you discover any security related issues, please email desperado@minsk-info.ru instead of using the issue tracker.

License

The MIT License (MIT). Please see LICENSE for more information.

Known Issues