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

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

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 4mo 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 today

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

28

—

LowBetter than 52% of packages

Maintenance57

Moderate activity, may be stable

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

720d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4996022?v=4)[Florian Krämer](/maintainers/floriankraemer)[@floriankraemer](https://github.com/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

[ecotone/ecotone

Enterprise architecture layer for Laravel and Symfony — CQRS, Event Sourcing, Durable Workflows (Sagas, Orchestrators), Projections, and Outbox messaging via PHP attributes.

564576.7k49](/packages/ecotone-ecotone)[prooph/service-bus

PHP Enterprise Service Bus Implementation supporting CQRS and DDD

4451.4M32](/packages/prooph-service-bus)[hirethunk/verbs

An event sourcing package that feels nice.

515217.0k7](/packages/hirethunk-verbs)[prooph/snapshotter

snapshot tool for prooph event-store

19172.8k3](/packages/prooph-snapshotter)[smoothphp/querybus

A simple bus for queries

1085.2k](/packages/smoothphp-querybus)[dykyi-roman/awesome-claude-code

Claude Code extension for PHP: audits (architecture, DDD, security, performance, PSR, design patterns, Docker, CI/CD, tests, docs), 3-level code review, automated bug fix, generators (DDD, CQRS, GoF patterns, PSR, tests, documentation, Docker, CI/CD), code explanation, refactoring. 26 commands, 62 agents, 259 skills.

851.2k](/packages/dykyi-roman-awesome-claude-code)

PHPackages © 2026

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