PHPackages                             php-service-bus/event-sourcing - 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. php-service-bus/event-sourcing

ActiveLibrary

php-service-bus/event-sourcing
==============================

Event Sourcing implementation

v5.1.3(4y ago)16.5k5MITPHPPHP &gt;=8.1CI failing

Since Feb 7Pushed 4y agoCompare

[ Source](https://github.com/php-service-bus/event-sourcing)[ Packagist](https://packagist.org/packages/php-service-bus/event-sourcing)[ RSS](/packages/php-service-bus-event-sourcing/feed)WikiDiscussions v5.1 Synced 1mo ago

READMEChangelog (10)Dependencies (11)Versions (36)Used By (5)

What is it?
-----------

[](#what-is-it)

[![Packagist](https://camo.githubusercontent.com/ff29c3b7c6d789aff6c9211c7376b3b331527be7355a6345132d2bac9940af5e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7068702d736572766963652d6275732f6576656e742d736f757263696e672e737667)](https://packagist.org/packages/php-service-bus/event-sourcing)[![Packagist](https://camo.githubusercontent.com/25859032aee5924122eeea6f5d5d533fd94d8a62bb24aca4491cce0fac3f49e7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7068702d736572766963652d6275732f6576656e742d736f757263696e672e737667)](https://packagist.org/packages/php-service-bus/event-sourcing)[![Continuous Integration](https://github.com/php-service-bus/event-sourcing/workflows/Continuous%20Integration/badge.svg)](https://github.com/php-service-bus/event-sourcing/workflows/Continuous%20Integration/badge.svg)[![codecov](https://camo.githubusercontent.com/32d915ecf1a4eba311f7f225985b998933b9c3d91a761bf7f2caca0e54037e2b/68747470733a2f2f636f6465636f762e696f2f67682f7068702d736572766963652d6275732f6576656e742d736f757263696e672f6272616e63682f76352e312f67726170682f62616467652e7376673f746f6b656e3d30624b776469756f3053)](https://codecov.io/gh/php-service-bus/event-sourcing)[![Shepherd](https://camo.githubusercontent.com/0f1c93c9210b0a04ae35832e26d9c635e533a586fcf5c9b13436eb7e65b4feee/68747470733a2f2f73686570686572642e6465762f6769746875622f7068702d736572766963652d6275732f6576656e742d736f757263696e672f636f7665726167652e737667)](https://shepherd.dev/github/php-service-bus/event-sourcing)

This component is part of the [PHP Service Bus](https://github.com/php-service-bus/service-bus): simple Event Sourcing implementation

Documentation
-------------

[](#documentation)

[**Event Sourcing documentation**](https://github.com/php-service-bus/service-bus/blob/v5.1/.documentation/event_sourcing.md)

This component is part of the [PHP Service Bus](https://github.com/php-service-bus/service-bus): contains common interfaces for implementing in the service bus.

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

[](#contributing)

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

License
-------

[](#license)

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

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity81

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 100% 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 ~33 days

Recently: every ~0 days

Total

36

Last Release

1504d ago

Major Versions

v3.3.x-dev → v4.0.02019-12-02

v4.2.x-dev → v5.0.12021-02-08

PHP version history (5 changes)v3.0.0PHP &gt;=7.2

v3.3.0PHP &gt;=7.3

v4.0.0PHP &gt;=7.4

v5.0.1PHP &gt;=8.0

v5.1.0PHP &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 (45 commits)")

---

Tags

componentevent-sourcingmessagingcommand busevent sourcingasync-php

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/php-service-bus-event-sourcing/health.svg)

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

###  Alternatives

[php-service-bus/service-bus

PHP Service Bus (publish-subscribe pattern)

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

Saga pattern implementation

3914.0k5](/packages/php-service-bus-sagas)

PHPackages © 2026

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