PHPackages                             psa/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. psa/event-sourcing

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

psa/event-sourcing
==================

Event Sourcing Library

1.1.3(6y ago)291PHPPHP ^7.2CI failing

Since Sep 24Pushed 5y ago6 watchersCompare

[ Source](https://github.com/World-Architects/event-sourcing)[ Packagist](https://packagist.org/packages/psa/event-sourcing)[ RSS](/packages/psa-event-sourcing/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (5)Dependencies (13)Versions (7)Used By (0)

Event Sourcing
==============

[](#event-sourcing)

#### Master

[](#master)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/304398d527ee38ce0aa544a673e9dd766b3e94e431346b4b64041ffa0fefab04/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f576f726c642d417263686974656374732f6576656e742d736f757263696e672f6261646765732f7175616c6974792d73636f72652e706e673f623d6d617374657226733d33313337653032613637643761346437663663646237366165396265306531633439616137623330)](https://scrutinizer-ci.com/g/World-Architects/event-sourcing/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/ad582f091b0fb10339ce22efbf8e7a2bb08fe970f6d06f0dd2e33dbf6f5788d6/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f576f726c642d417263686974656374732f6576656e742d736f757263696e672f6261646765732f636f7665726167652e706e673f623d6d617374657226733d32636466393366396565306462643664643339306364363934386532353730323036386635626635)](https://scrutinizer-ci.com/g/World-Architects/event-sourcing/?branch=master)[![Build Status](https://camo.githubusercontent.com/a6fe8bbcf379e91b5397031ab88bfaf88941acfca59c22764243de75207de688/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f576f726c642d417263686974656374732f6576656e742d736f757263696e672f6261646765732f6275696c642e706e673f623d6d617374657226733d63313634323136666466333739333637333330333436313064363835313433353066333464373932)](https://scrutinizer-ci.com/g/World-Architects/event-sourcing/?branch=master)

#### Develop

[](#develop)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/3288c018ebc6cca898ea9b6ba1de2741ae3e32df2e10a020834a4202b6d5e219/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f576f726c642d417263686974656374732f6576656e742d736f757263696e672f6261646765732f7175616c6974792d73636f72652e706e673f623d646576656c6f7026733d33313337653032613637643761346437663663646237366165396265306531633439616137623330)](https://scrutinizer-ci.com/g/World-Architects/event-sourcing/?branch=develop)[![Code Coverage](https://camo.githubusercontent.com/99c5baa69417d18ac46667b74162ae48f6554567b5e3cc7b68e76ce8253199a2/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f576f726c642d417263686974656374732f6576656e742d736f757263696e672f6261646765732f636f7665726167652e706e673f623d646576656c6f7026733d32636466393366396565306462643664643339306364363934386532353730323036386635626635)](https://scrutinizer-ci.com/g/World-Architects/event-sourcing/?branch=develop)[![Build Status](https://camo.githubusercontent.com/2f74eb3606493bdfe59e0cc270ab42965a7f26ac160814469540daf2685666d4/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f576f726c642d417263686974656374732f6576656e742d736f757263696e672f6261646765732f6275696c642e706e673f623d646576656c6f7026733d63313634323136666466333739333637333330333436313064363835313433353066333464373932)](https://scrutinizer-ci.com/g/World-Architects/event-sourcing/?branch=develop)

This library provides tools for an [event sourcing](https://martinfowler.com/eaaDev/EventSourcing.html) implementation.

The event store system that this library is using is  and the [Prooph](https://github.com/prooph) client libraries ([Async](https://github.com/prooph/event-store-client), [HTTP](https://github.com/prooph/event-store-http-client)) to communicate with it.

Requirements
------------

[](#requirements)

The default event store implementation that library uses is the event store from . Make sure you installed it and it is running properly. Consult the [documentation](https://eventstore.org/docs/) if you need to know how to set it up.

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

[](#documentation)

Please see the [docs folder](./docs/index.md) for the library documentation.

You can find the event store documentation here .

Composer Commands
-----------------

[](#composer-commands)

- **csfix** - Runs phpcbf and fixes coding standard problems
- **cscheck** - Checks the coding standard
- **analyze** - Runs the static code analyzer
- **test** - Runs phpunit

Copyright
---------

[](#copyright)

Copyright 2019 PSA Ltd. All rights reserved.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 88.5% 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 ~57 days

Total

5

Last Release

2193d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0643e6255da841fe65260ec6e263d8908a40a84b884c32e9fc6be6a15e252fa8?d=identicon)[burzum](/maintainers/burzum)

---

Top Contributors

[![burzum](https://avatars.githubusercontent.com/u/162789?v=4)](https://github.com/burzum "burzum (92 commits)")[![jameswatts](https://avatars.githubusercontent.com/u/403296?v=4)](https://github.com/jameswatts "jameswatts (7 commits)")[![netstyler](https://avatars.githubusercontent.com/u/319755?v=4)](https://github.com/netstyler "netstyler (5 commits)")

---

Tags

architecture-componentcqrsdddddd-patternsenterprise-architectureevent-source-clientevent-sourcingphpphp7php72

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/psa-event-sourcing/health.svg)

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

###  Alternatives

[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

22.8k69.3k](/packages/grumpydictator-firefly-iii)[ecotone/ecotone

Supporting you in building DDD, CQRS, Event Sourcing applications with ease.

558549.8k17](/packages/ecotone-ecotone)[tomaj/hermes

Simple php background processing library

38251.0k5](/packages/tomaj-hermes)[oat-sa/lib-lti1p3-core

OAT LTI 1.3 Core Library

36341.9k10](/packages/oat-sa-lib-lti1p3-core)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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