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

ActiveLibrary

phauthentic/event-sourcing
==========================

An event sourcing library for PHP. Framework agnostic, simple, SOLID and easy to use.

1.0.0-beta2(1y ago)02[1 PRs](https://github.com/Phauthentic/event-sourcing/pulls)MITPHPPHP ^8.2

Since Jun 30Pushed 2mo ago1 watchersCompare

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

READMEChangelog (3)Dependencies (13)Versions (4)Used By (0)

Phauthentic Event Sourcing Library
==================================

[](#phauthentic-event-sourcing-library)

A framework-agnostic event sourcing system.

The library tries to be as unopinionated as possible, it provides the basic building blocks to implement event sourcing in your application. The library will allow you to keep 3rd party dependencies to a minimum and will not force you to use a specific framework or library. Your aggregates can be free of third party dependencies if you want to go for that style.

It features different ways of extracting information from your aggregates, pick your flavor: Via Attributes (recommended), Interfaces or Reflection. Using a reflection based extractor will allow you to keep your aggregates free of any dependency to this library.

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

[](#installation)

```
composer require phauthentic/event-sourcing
```

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

[](#documentation)

- [What is Event Sourcing?](docs/What-is-Event-Sourcing)
- [The Architecture of this Library](docs/Architecture.md)
- [Make your Aggregates Using Event Sourcing](docs/Make-your-Aggregate-using-Event-Sourcing.md)
- [Example](docs/Example.md)
- [Running Tests](docs/Running-Tests.md)
- [Other Event Sourcing Libraries](docs/Other-Event-Sourcing-Libraries.md)

License
-------

[](#license)

Copyright Florian Krämer

Licensed under the [MIT license](LICENSE).

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance62

Regular maintenance activity

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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 ~12 days

Total

2

Last Release

675d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2bef35c03b7865d9cad45c22e54eb6fe8f5fc84a4ff64d47cc0f7a1ef28dbe85?d=identicon)[floriankraemer](/maintainers/floriankraemer)

---

Top Contributors

[![floriankraemer](https://avatars.githubusercontent.com/u/4996022?v=4)](https://github.com/floriankraemer "floriankraemer (21 commits)")

---

Tags

agnosticcqrsdddevent-sourcingframework-agnosticno-3rd-party-dependenciesphpphp-libraryphp8solidsolid-principlesevent sourcingevent storecqrssolidsnapshot-store

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[broadway/broadway

Infrastructure and testing helpers for creating CQRS and event sourced applications.

1.5k2.0M53](/packages/broadway-broadway)[broadway/broadway-bundle

Symfony bundle for broadway/broadway.

68853.8k7](/packages/broadway-broadway-bundle)[prooph/snapshotter

snapshot tool for prooph event-store

19169.7k3](/packages/prooph-snapshotter)[smoothphp/cqrs-es-framework-laravel

Laravel adapter for the SmoothPhp CQRS-ES-Framework

1546.2k](/packages/smoothphp-cqrs-es-framework-laravel)[smoothphp/querybus

A simple bus for queries

1084.9k](/packages/smoothphp-querybus)[pauci/cqrs

CQRS library

1725.2k2](/packages/pauci-cqrs)

PHPackages © 2026

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