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. [Framework](/categories/framework)
4. /
5. patchlevel/event-sourcing-bundle

ActiveSymfony-bundle[Framework](/categories/framework)

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

symfony bundle for patchlevel/event-sourcing

3.17.0(1mo ago)52208.0k↓35.8%11[4 issues](https://github.com/patchlevel/event-sourcing-bundle/issues)[3 PRs](https://github.com/patchlevel/event-sourcing-bundle/pulls)2MITPHPPHP ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0CI passing

Since Mar 21Pushed 4d 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.18.x Synced 4d ago

READMEChangelog (10)Dependencies (95)Versions (114)Used By (2)

[![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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODI5MjQzMTAsIm5iZiI6MTc4MjkyNDAxMCwicGF0aCI6Ii80NzAxMzgvMjUyMzE2ODQ5LWQwMGI3NDU5LTIzYjctNDMxYi04MGI0LTkzY2ZjMWI2NjIxNi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwNzAxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDcwMVQxNjQwMTBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zOGZhN2RiYTk5ZjgxMDdkOWY2NjQ5ODI0NmMzZjdhNDgxZTljNmRiODQ2OTU4MzI5ODQ2ODA4NGFmYzlmYzE1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.4vjILZjyNKerJc9mhGEogwIEWCLCuBGE5PYJj5KT0tw)](https://www.blackfire.io)

###  Health Score

68

—

FairBetter than 99% of packages

Maintenance95

Actively maintained with recent releases

Popularity48

Moderate usage in the ecosystem

Community25

Small or concentrated contributor base

Maturity87

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 57.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 ~20 days

Recently: every ~15 days

Total

96

Last Release

7d 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.17.0 → 4.0.x-dev2026-06-02

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.1PHP ~8.2.0 || ~8.3.0

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

3.13.0PHP ~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] (855 commits)")[![DavidBadura](https://avatars.githubusercontent.com/u/470138?v=4)](https://github.com/DavidBadura "DavidBadura (462 commits)")[![DanielBadura](https://avatars.githubusercontent.com/u/2017762?v=4)](https://github.com/DanielBadura "DanielBadura (104 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)")[![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 (3 commits)")[![renovate-bot](https://avatars.githubusercontent.com/u/25180681?v=4)](https://github.com/renovate-bot "renovate-bot (3 commits)")[![elazar](https://avatars.githubusercontent.com/u/15487?v=4)](https://github.com/elazar "elazar (1 commits)")[![gscioni-axelerant](https://avatars.githubusercontent.com/u/75244293?v=4)](https://github.com/gscioni-axelerant "gscioni-axelerant (1 commits)")[![mttsch](https://avatars.githubusercontent.com/u/98848360?v=4)](https://github.com/mttsch "mttsch (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/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M577](/packages/shopware-core)[symfony/framework-bundle

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

3.6k251.7M11.6k](/packages/symfony-framework-bundle)[shopware/storefront

Storefront for Shopware

684.6M237](/packages/shopware-storefront)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[sulu/sulu

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

1.3k1.4M204](/packages/sulu-sulu)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9421.6k61](/packages/open-dxp-opendxp)

PHPackages © 2026

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