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

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

prooph/event-sourcing
=====================

PHP EventSourcing library

v5.7.0(5y ago)267808.5k↓26.2%4218BSD-3-ClausePHPPHP ^7.3 || ^8.0

Since Jun 8Pushed 5y ago17 watchersCompare

[ Source](https://github.com/prooph/event-sourcing)[ Packagist](https://packagist.org/packages/prooph/event-sourcing)[ Docs](http://getprooph.org/)[ RSS](/packages/prooph-event-sourcing/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (10)Versions (28)Used By (18)

ProophEventSourcing
===================

[](#proopheventsourcing)

Simple and lightweight event sourcing library with out of the box support for [ProophEventStore](https://github.com/prooph/event-store)

[![Build Status](https://camo.githubusercontent.com/3addc965b90df69bdef70fd4ddba8f112d2443373eee79ea563783d65d3d6ec2/68747470733a2f2f7472617669732d63692e6f72672f70726f6f70682f6576656e742d736f757263696e672e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/prooph/event-sourcing)[![Coverage Status](https://camo.githubusercontent.com/99f8af1ad60836fde8104559f34c249ce0037440b952956627caf1325cf81803/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f70726f6f70682f6576656e742d736f757263696e672e737667)](https://coveralls.io/r/prooph/event-sourcing?branch=master)[![Gitter](https://camo.githubusercontent.com/abe08b740a4156153736f791393ec4da6619c4be73212e75769f52edacc0e2b5/68747470733a2f2f6261646765732e6769747465722e696d2f4a6f696e253230436861742e737667)](https://gitter.im/prooph/improoph)

Important
---------

[](#important)

This library will receive support until December 31, 2019 and will then be deprecated.

For further information see the official announcement here:

Installation
============

[](#installation)

You can install ProophEventSourcing via composer by adding `"prooph/event-sourcing": "^5.0"` as requirement to your composer.json.

Usage
=====

[](#usage)

Our [quickstart](https://github.com/prooph/event-sourcing/blob/master/examples/quickstart.php) should give you a starting point. It's a very small domain but shows you the useage of ProophEventSourcing and the integration with ProophEventStore.

ProophEventStore Integration
============================

[](#proopheventstore-integration)

ProophEventSourcing ships with a [ProophEventStore](https://github.com/prooph/event-store) AggregateTranslator to connect the store with the bundled [AggregateRoot](https://github.com/prooph/event-sourcing/blob/master/src/Prooph/EventSourcing/AggregateRoot.php).

Support
=======

[](#support)

- Ask questions on Stack Overflow tagged with [\#prooph](https://stackoverflow.com/questions/tagged/prooph).
- File issues at .
- Say hello in the [prooph gitter](https://gitter.im/prooph/improoph) chat.

Used Third-Party Libraries
==========================

[](#used-third-party-libraries)

- Uuids of the AggregateChangedEvents are generated with [ramsey/uuid](https://github.com/ramsey/uuid)
- Assertions are performed by [beberlei/assert](https://github.com/beberlei/assert)

###  Health Score

51

—

FairBetter than 96% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity56

Moderate usage in the ecosystem

Community36

Small or concentrated contributor base

Maturity78

Established project with proven stability

 Bus Factor1

Top contributor holds 78.4% 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 ~99 days

Recently: every ~298 days

Total

26

Last Release

1883d ago

Major Versions

0.2.0 → v1.0.02014-09-28

v1.0.0 → v2.02015-05-01

v2.1 → v3.0-beta.12015-08-05

v3.0 → v4.0-beta.12015-10-21

4.x-dev → v5.0.0-beta12016-12-13

PHP version history (5 changes)0.1.0PHP &gt;=5.4

v2.0PHP &gt;=5.5

v4.0PHP ~5.5|~7.0

v5.0.0-beta1PHP ^7.1

v5.7.0PHP ^7.3 || ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7341005?v=4)[prooph](/maintainers/prooph)[@prooph](https://github.com/prooph)

---

Top Contributors

[![prolic](https://avatars.githubusercontent.com/u/394428?v=4)](https://github.com/prolic "prolic (156 commits)")[![basz](https://avatars.githubusercontent.com/u/143068?v=4)](https://github.com/basz "basz (13 commits)")[![Xerkus](https://avatars.githubusercontent.com/u/725842?v=4)](https://github.com/Xerkus "Xerkus (6 commits)")[![Orkin](https://avatars.githubusercontent.com/u/1061903?v=4)](https://github.com/Orkin "Orkin (5 commits)")[![geekcom](https://avatars.githubusercontent.com/u/3955933?v=4)](https://github.com/geekcom "geekcom (4 commits)")[![sandrokeil](https://avatars.githubusercontent.com/u/3597436?v=4)](https://github.com/sandrokeil "sandrokeil (3 commits)")[![codeliner](https://avatars.githubusercontent.com/u/5131987?v=4)](https://github.com/codeliner "codeliner (3 commits)")[![oqq](https://avatars.githubusercontent.com/u/7161145?v=4)](https://github.com/oqq "oqq (3 commits)")[![Brammm](https://avatars.githubusercontent.com/u/851445?v=4)](https://github.com/Brammm "Brammm (2 commits)")[![fritz-gerneth](https://avatars.githubusercontent.com/u/1294731?v=4)](https://github.com/fritz-gerneth "fritz-gerneth (2 commits)")[![jdrieghe](https://avatars.githubusercontent.com/u/12606789?v=4)](https://github.com/jdrieghe "jdrieghe (1 commits)")[![jpkleemans](https://avatars.githubusercontent.com/u/5700014?v=4)](https://github.com/jpkleemans "jpkleemans (1 commits)")

---

Tags

cqrsdddevent-sourcingevent-storephpproophdddproophEventSourcing

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[prooph/service-bus

PHP Enterprise Service Bus Implementation supporting CQRS and DDD

4421.4M32](/packages/prooph-service-bus)[ecotone/ecotone

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

558549.8k17](/packages/ecotone-ecotone)[prooph/event-store

Event Store v8

5471.5M40](/packages/prooph-event-store)[prooph/event-store-bus-bridge

Marry CQRS with Event Sourcing

37518.3k11](/packages/prooph-event-store-bus-bridge)[prooph/event-store-symfony-bundle

109253.5k8](/packages/prooph-event-store-symfony-bundle)[prooph/event-store-client

Event Store Client for async TCP connections

115134.6k2](/packages/prooph-event-store-client)

PHPackages © 2026

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