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

ActiveSymfony-bundle

patchlevel/event-sourcing-bundle
================================

symfony bundle for patchlevel/event-sourcing

3.15.0(1mo ago)50146.1k—3.3%10[5 PRs](https://github.com/patchlevel/event-sourcing-bundle/pulls)1MITPHPPHP ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0CI passing

Since Mar 21Pushed 1mo ago4 watchersCompare

[ Source](https://github.com/patchlevel/event-sourcing-bundle)[ Packagist](https://packagist.org/packages/patchlevel/event-sourcing-bundle)[ Docs](https://github.com/patchlevel/event-sourcing-bundle)[ RSS](/packages/patchlevel-event-sourcing-bundle/feed)WikiDiscussions 3.15.x Synced 1mo ago

READMEChangelog (10)Dependencies (46)Versions (102)Used By (1)

[![Type Coverage](https://camo.githubusercontent.com/7de76e3221ec3f3c5bd2a484dc26267996085027cf7867bbe26158f4d373df12/68747470733a2f2f73686570686572642e6465762f6769746875622f70617463686c6576656c2f6576656e742d736f757263696e672d62756e646c652f636f7665726167652e737667)](https://shepherd.dev/github/patchlevel/event-sourcing-bundle)[![Latest Stable Version](https://camo.githubusercontent.com/02b60d87c9dc78bfd5ac8621f4bc51174a04e7b5447dc07c765c5f72fd089ff6/68747470733a2f2f706f7365722e707567782e6f72672f70617463686c6576656c2f6576656e742d736f757263696e672d62756e646c652f76)](//packagist.org/packages/patchlevel/event-sourcing-bundle)[![License](https://camo.githubusercontent.com/75b6f88e88e4919f17cbedb35a7b974653dbbf9aba01f1dc1c3084f04d1fd737/68747470733a2f2f706f7365722e707567782e6f72672f70617463686c6576656c2f6576656e742d736f757263696e672d62756e646c652f6c6963656e7365)](//packagist.org/packages/patchlevel/event-sourcing-bundle)

Event-Sourcing-Bundle
=====================

[](#event-sourcing-bundle)

An event sourcing bundle, complete with all the essential features, powered by the reliable Doctrine ecosystem and focused on developer experience. This bundle is a [symfony](https://symfony.com/) integration for [event-sourcing](https://github.com/patchlevel/event-sourcing) library.

Features
--------

[](#features)

- Everything is included in the package for event sourcing
- Based on [doctrine dbal](https://github.com/doctrine/dbal) and their ecosystem
- Developer experience oriented and fully typed
- Automatic [snapshot](https://event-sourcing.patchlevel.io/latest/snapshots/)-system to boost your performance
- [Split](https://event-sourcing.patchlevel.io/latest/split_stream/) big aggregates into multiple streams
- Versioned and managed lifecycle of [subscriptions](https://event-sourcing.patchlevel.io/latest/subscription/) like projections and processors
- Safe usage of [Personal Data](https://event-sourcing.patchlevel.io/latest/personal_data/) with crypto-shredding
- Smooth [upcasting](https://event-sourcing.patchlevel.io/latest/upcasting/) of old events
- Simple setup with [scheme management](https://event-sourcing.patchlevel.io/latest/store/) and [doctrine migration](https://event-sourcing.patchlevel.io/latest/store/)
- Built in [cli commands](https://event-sourcing.patchlevel.io/latest/cli/)
- and much more...

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

[](#installation)

```
composer require patchlevel/event-sourcing-bundle
```

Warning

If you don't use the symfony flex recipe for this bundle, you need to follow this [installation documentation](https://event-sourcing-bundle.patchlevel.io/latest/installation/).

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

[](#documentation)

- [Bundle Documentation](https://event-sourcing-bundle.patchlevel.io/latest/)
- [Library Documentation](https://event-sourcing.patchlevel.io/latest/)
- [Related Blog](https://patchlevel.de/blog)

Integration
-----------

[](#integration)

- [Psalm](https://github.com/patchlevel/event-sourcing-psalm-plugin)

Sponsors
--------

[](#sponsors)

[![blackfire](https://private-user-images.githubusercontent.com/470138/252316849-d00b7459-23b7-431b-80b4-93cfc1b66216.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzQ2NjU5MjQsIm5iZiI6MTc3NDY2NTYyNCwicGF0aCI6Ii80NzAxMzgvMjUyMzE2ODQ5LWQwMGI3NDU5LTIzYjctNDMxYi04MGI0LTkzY2ZjMWI2NjIxNi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwMzI4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDMyOFQwMjQwMjRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1lMTA2MDg2NDNjMThiZjZiYTgwY2NmNDUzODQwNmUyNDBlN2UxNjRjZWM0NzAyYzUyZTg0ODNjMjdiODk0ZTc2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.TKLIaiXtDce1QT7r7Ew3CmuQCq9_obgMsSPvyoCJHF4)](https://www.blackfire.io)

###  Health Score

66

—

FairBetter than 99% of packages

Maintenance89

Actively maintained with recent releases

Popularity47

Moderate usage in the ecosystem

Community23

Small or concentrated contributor base

Maturity86

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 58.2% 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 ~20 days

Recently: every ~26 days

Total

90

Last Release

53d ago

Major Versions

2.3.0 → 3.0.0-beta32023-12-12

2.3.1 → 3.0.0-rc102024-04-20

2.4.x-dev → 3.0.0-rc122024-04-23

2.3.x-dev → 3.0.x-dev2024-07-28

3.14.x-dev → 4.0.x-dev2025-12-11

PHP version history (9 changes)1.0.0-alphaPHP ^7.4|^8.0

1.0.0-rc3PHP ~7.4.0|~8.0.0

1.1.0PHP ~8.0.0|~8.1.0

2.0.0-beta1PHP ~8.1.0

2.1.0-beta2PHP ~8.1.0 || ~8.2.0

2.3.0PHP ~8.1.0 || ~8.2.0 || ~8.3.0

3.7.0PHP ~8.2.0 || ~8.3.0

3.10.0PHP ~8.2.0 || ~8.3.0 || ~8.4.0

3.13.x-devPHP ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/470138?v=4)[David Badura](/maintainers/DavidBadura)[@DavidBadura](https://github.com/DavidBadura)

---

Top Contributors

[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (835 commits)")[![DavidBadura](https://avatars.githubusercontent.com/u/470138?v=4)](https://github.com/DavidBadura "DavidBadura (456 commits)")[![DanielBadura](https://avatars.githubusercontent.com/u/2017762?v=4)](https://github.com/DanielBadura "DanielBadura (89 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (24 commits)")[![MarcoGiesen](https://avatars.githubusercontent.com/u/8974211?v=4)](https://github.com/MarcoGiesen "MarcoGiesen (15 commits)")[![gzumba](https://avatars.githubusercontent.com/u/3403631?v=4)](https://github.com/gzumba "gzumba (6 commits)")[![renovate-bot](https://avatars.githubusercontent.com/u/25180681?v=4)](https://github.com/renovate-bot "renovate-bot (3 commits)")[![robinlehrmann](https://avatars.githubusercontent.com/u/8525833?v=4)](https://github.com/robinlehrmann "robinlehrmann (3 commits)")[![kochen](https://avatars.githubusercontent.com/u/106042?v=4)](https://github.com/kochen "kochen (2 commits)")[![gscioni-axelerant](https://avatars.githubusercontent.com/u/75244293?v=4)](https://github.com/gscioni-axelerant "gscioni-axelerant (1 commits)")[![elazar](https://avatars.githubusercontent.com/u/15487?v=4)](https://github.com/elazar "elazar (1 commits)")

---

Tags

event-sourcingphpsymfonyevent sourcing

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[symfony/framework-bundle

Provides a tight integration between Symfony components and the Symfony full-stack framework

3.6k235.4M9.7k](/packages/symfony-framework-bundle)[simplesamlphp/simplesamlphp

A PHP implementation of a SAML 2.0 service provider and identity provider.

1.1k12.4M193](/packages/simplesamlphp-simplesamlphp)

PHPackages © 2026

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