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)

Fund package maintenance!
Open Collective

Installs: 1 199

Dependents: 0

Suggesters: 0

Security: 0

Stars: 312

Watchers: 22

Forks: 20

v5.0.0 2021-02-14 01:04 UTC

README

Packagist Packagist Continuous Integration codecov Shepherd Latest Stable Version License Financial Contributors on Open Collective

Introduction

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, Publish\Subscribe, Message Bus.

Main Features

  • Сooperative multitasking
  • Asynchronous messaging (Publish\Subscribe pattern implementation)
  • Event-driven architecture
  • Distribution (messages can be handled by different applications)
    • Subscribers can be implemented on any programming language
  • High performance
  • Orchestration of long-lived business transactions (for example, a checkout) with the help of Saga Pattern
  • Full history of aggregate changes (EventSourcing)

See it in action

Jump into our Quick Start and build your first distributed solution in just 15 minutes.

Documentation

Documentation can be found in the .documentation directory

Requirements

  • PHP >=8.0
  • RabbitMQ/Redis/Nsq
  • PostgreSQL

Contributions are welcome! Please read CONTRIBUTING for details.

Communication Channels

You can find help and discussion in the following places:

Contributing

Contributions are welcome! Please read CONTRIBUTING for details.

License

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