PHPackages                             treehouselabs/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. treehouselabs/event-sourcing

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

treehouselabs/event-sourcing
============================

2.0.1(9y ago)1554MITPHP &gt;=5.6

Since Sep 6Compare

[ Source](https://github.com/treehouselabs/event-sourcing)[ Packagist](https://packagist.org/packages/treehouselabs/event-sourcing)[ RSS](/packages/treehouselabs-event-sourcing/feed)WikiDiscussions Synced today

READMEChangelog (5)Dependencies (8)Versions (6)Used By (0)

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

[](#event-sourcing)

[![Latest Version on Packagist](https://camo.githubusercontent.com/571cfc82aec9024eab0b31120540b1055211929ee95eb2557a8562d72bfb91d8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f74726565686f7573656c6162732f6576656e742d736f757263696e672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/treehouselabs/event-sourcing)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/8c04316f1c19cbe24912459d37433916d289cbc6a0cf138e5b8a2bf1b7312135/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f74726565686f7573656c6162732f6576656e742d736f757263696e672f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/treehouselabs/event-sourcing)[![Coverage Status](https://camo.githubusercontent.com/71dbdbc4c2211f70934e13dc874c4d68a8ceea85742c954010fcdefcc53602f0/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f74726565686f7573656c6162732f6576656e742d736f757263696e672e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/treehouselabs/event-sourcing/code-structure)[![Quality Score](https://camo.githubusercontent.com/6682f69f298489f2efd6114be35dbb9fe45af257760d5b8b2229b4fac6b40798/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f74726565686f7573656c6162732f6576656e742d736f757263696e672e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/treehouselabs/event-sourcing)

Event sourcing library

Plays well with the following TreeHouse Libraries.

- [Event Store](https://github.com/treehouselabs/event-store)
- [Domain](https://github.com/treehouselabs/domain)
- [Command Handling](https://github.com/treehouselabs/command-handling)
- [Message bus](https://github.com/treehouselabs/message-bus)
- [Serialization](https://github.com/treehouselabs/serialization)

Installation
------------

[](#installation)

```
composer require treehouselabs/event-sourcing
```

Testing
-------

[](#testing)

```
composer test
```

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

License
-------

[](#license)

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

Credits
-------

[](#credits)

- [Jeroen Fiege](https://github.com/fieg)
- [Mark van Duijker](https://github.com/mvanduijker)
- [Marco Janssen](https://github.com/marcojanssen)
- [All Contributors](../../contributors)

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 93.8% 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 ~62 days

Total

5

Last Release

3333d ago

Major Versions

1.1.1 → 2.02017-05-15

### Community

Maintainers

![](https://www.gravatar.com/avatar/49e70c4936c5121b835d48680dcf4bb57d21724c533dd99591e80101e4a25dd6?d=identicon)[pkruithof](/maintainers/pkruithof)

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

---

Top Contributors

[![fieg](https://avatars.githubusercontent.com/u/1086908?v=4)](https://github.com/fieg "fieg (15 commits)")[![mvanduijker](https://avatars.githubusercontent.com/u/1771206?v=4)](https://github.com/mvanduijker "mvanduijker (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[imanghafoori/laravel-decorator

A package to easily decorate your function calls.

13913.5k](/packages/imanghafoori-laravel-decorator)[invato/redirect-to-index

Laravel Nova package to redirect to the index view instead of the detail after creating or editing a resource.

1220.0k](/packages/invato-redirect-to-index)[yii2mod/yii2-bx-slider

Bx-slider widget based on bx-slider extension {@link http://bxslider.com)

1110.8k](/packages/yii2mod-yii2-bx-slider)

PHPackages © 2026

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