PHPackages                             mmasiukevich/service-bus - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. mmasiukevich/service-bus

Abandoned → [php-service-bus/service-bus](/?search=php-service-bus%2Fservice-bus)Library

mmasiukevich/service-bus
========================

PHP Service Bus (publish-subscribe pattern)

v5.0.0(5y ago)3121.2k17[2 issues](https://github.com/mmasiukevich/service-bus/issues)MITPHPPHP &gt;=8.0CI failing

Since Feb 8Pushed 11mo ago21 watchersCompare

[ Source](https://github.com/mmasiukevich/service-bus)[ Packagist](https://packagist.org/packages/mmasiukevich/service-bus)[ Fund](https://opencollective.com/php-service-bus)[ RSS](/packages/mmasiukevich-service-bus/feed)WikiDiscussions v5.1 Synced today

READMEChangelog (10)Dependencies (27)Versions (84)Used By (0)

[![Packagist](https://camo.githubusercontent.com/a4beb7dc30a1e64d1434296f3d4103f8bda2ebb69ec18d29d096a3ec266d3f51/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7068702d736572766963652d6275732f736572766963652d6275732e737667)](https://packagist.org/packages/php-service-bus/service-bus)[![Packagist](https://camo.githubusercontent.com/ac9f35549a7585c755dfe2f31f9ebf530ec5f43234d3f9eee634898250372d79/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7068702d736572766963652d6275732f736572766963652d6275732e737667)](https://packagist.org/packages/php-service-bus/service-bus)[![Continuous Integration](https://github.com/php-service-bus/service-bus/workflows/Continuous%20Integration/badge.svg)](https://github.com/php-service-bus/service-bus/workflows/Continuous%20Integration/badge.svg)[![codecov](https://camo.githubusercontent.com/6b50f5f25852e17575c90b6b53873d4c2a19870e25feabc49022a014ae52fed6/68747470733a2f2f636f6465636f762e696f2f67682f7068702d736572766963652d6275732f736572766963652d6275732f6272616e63682f76352e312f67726170682f62616467652e7376673f746f6b656e3d30624b776469756f3053)](https://codecov.io/gh/php-service-bus/service-bus)[![Shepherd](https://camo.githubusercontent.com/625f3b02096b1ea4155d89481bfc5b1b9dec30eef3debbdb4ad267b695ee8bbe/68747470733a2f2f73686570686572642e6465762f6769746875622f7068702d736572766963652d6275732f736572766963652d6275732f636f7665726167652e737667)](https://shepherd.dev/github/php-service-bus/service-bus)[![Latest Stable Version](https://camo.githubusercontent.com/44ed25a7fe56321fa26c005ad15a54f4b68f20c6273a02b1f3e8596cfc2c7062/68747470733a2f2f706f7365722e707567782e6f72672f7068702d736572766963652d6275732f736572766963652d6275732f762f737461626c65)](https://packagist.org/packages/php-service-bus/service-bus)[![License](https://camo.githubusercontent.com/d5db2f150b93cf2b42388fc23095e03db40043032624233ff397b9496dffebfc/68747470733a2f2f706f7365722e707567782e6f72672f7068702d736572766963652d6275732f736572766963652d6275732f6c6963656e7365)](https://packagist.org/packages/php-service-bus/service-bus)[![Financial Contributors on Open Collective](https://camo.githubusercontent.com/b537d268d623a7f4d0ee9e325ecf4fd154874db5c3e8511f915802aa76404137/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f7068702d736572766963652d6275732f616c6c2f62616467652e7376673f6c6162656c3d66696e616e6369616c2b636f6e7472696275746f7273)](https://opencollective.com/php-service-bus)

### Introduction

[](#introduction)

A concurrency (based on [Amp](https://github.com/amphp)) 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](https://www.enterpriseintegrationpatterns.com/patterns/messaging/Messaging.html) and it includes the following patterns: Saga, Publish\\Subscribe, Message Bus.

### Main Features

[](#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](https://github.com/php-service-bus/performance-comparison)
- 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

[](#see-it-in-action)

Jump into our [Quick Start](.documentation/quick_start.md) and build your first distributed solution in just 15 minutes.

### Documentation

[](#documentation)

Documentation can be found in the `.documentation` directory

- [Installation](.documentation/installation.md)

### Requirements

[](#requirements)

- PHP &gt;=8.1
- RabbitMQ/Redis/Nsq
- PostgreSQL

Contributions are welcome! Please read [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

### Communication Channels

[](#communication-channels)

You can find help and discussion in the following places:

- [Telegram chat (RU)](https://t.me/php_service_bus)
- [Twitter](https://twitter.com/PhpBus)
- Create issue

Contributing
------------

[](#contributing)

Contributions are welcome! Please read [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

### License

[](#license)

The MIT License (MIT). Please see [LICENSE](./LICENSE.md) for more information.

###  Health Score

48

—

FairBetter than 94% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity84

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 98.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~17 days

Recently: every ~130 days

Total

82

Last Release

1563d ago

Major Versions

v0.0.4.3 → v1.0.02018-08-09

v1.2.3 → v2.0.02018-10-18

v2.4.x-dev → v3.0.02019-02-12

v3.3.x-dev → v4.0.0-rc12019-12-06

v4.1.x-dev → v5.0.02021-02-14

PHP version history (6 changes)v0.0.1PHP &gt;=7.1

v0.0.4PHP &gt;=7.2

v3.3.0PHP &gt;=7.3

v4.1.1PHP &gt;=7.4

v5.0.0PHP &gt;=8.0

v5.1.x-devPHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/f67aa423dfb2be8f8fd122ebcdea86cd76879eecf61562a4a76785a2e867989c?d=identicon)[Desperado](/maintainers/Desperado)

---

Top Contributors

[![mmasiukevich](https://avatars.githubusercontent.com/u/31206791?v=4)](https://github.com/mmasiukevich "mmasiukevich (767 commits)")[![deadbeat88](https://avatars.githubusercontent.com/u/3709600?v=4)](https://github.com/deadbeat88 "deadbeat88 (4 commits)")[![thatside](https://avatars.githubusercontent.com/u/9299200?v=4)](https://github.com/thatside "thatside (3 commits)")[![berezuev](https://avatars.githubusercontent.com/u/695546?v=4)](https://github.com/berezuev "berezuev (1 commits)")[![Guuzen](https://avatars.githubusercontent.com/u/11592018?v=4)](https://github.com/Guuzen "Guuzen (1 commits)")[![Olden](https://avatars.githubusercontent.com/u/546682?v=4)](https://github.com/Olden "Olden (1 commits)")

---

Tags

amphpasynccommand-busevent-sourcingmessagingpublish-subscribemessagingcommand bussagaasync-php

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/mmasiukevich-service-bus/health.svg)

```
[![Health](https://phpackages.com/badges/mmasiukevich-service-bus/health.svg)](https://phpackages.com/packages/mmasiukevich-service-bus)
```

###  Alternatives

[php-service-bus/service-bus

PHP Service Bus (publish-subscribe pattern)

35214.1k2](/packages/php-service-bus-service-bus)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
