PHPackages                             ddd-module/snapshotting - 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. ddd-module/snapshotting

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

ddd-module/snapshotting
=======================

POC for snapshotting aggregates in broadway/broadway

1.0.1(1y ago)0411proprietaryPHPPHP ^8.3

Since Jan 10Pushed 1y agoCompare

[ Source](https://github.com/kraicdesign/micro_modules_snapshotting)[ Packagist](https://packagist.org/packages/ddd-module/snapshotting)[ RSS](/packages/ddd-module-snapshotting/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (15)Versions (3)Used By (1)

snapshotting
============

[](#snapshotting)

Proof-of-concept component providing snapshotting functionality to [broadway/broadway](https://github.com/broadway/broadway).

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

[](#documentation)

This project demonstrates taking and using snapshots of an aggregate root in the EventSourcingRepository.

Snaphots can be triggered using different strategies like once every number of events or after an amount of time has passed. The `EventCountTrigger` implements the former strategy.

Getting started
---------------

[](#getting-started)

This repository is just a library. It lacks (for now) implementations of the `SnapshotRepository`.

For example if you want store your events and snapshots in a database using `doctrine/dbal`you will have to:

- create a `DBALSnapshotRepository` implementing the `SnapshotRepository` to store and fetch snapshots. You wil have to figure out how to serialize your aggregate root.

License
-------

[](#license)

This project is licensed under the MIT License - see the LICENSE file for details

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60% 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 ~0 days

Total

2

Last Release

540d ago

### Community

Maintainers

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

---

Top Contributors

[![temafey](https://avatars.githubusercontent.com/u/981101?v=4)](https://github.com/temafey "temafey (9 commits)")[![andreysox](https://avatars.githubusercontent.com/u/135994711?v=4)](https://github.com/andreysox "andreysox (3 commits)")[![edem-pub](https://avatars.githubusercontent.com/u/29947811?v=4)](https://github.com/edem-pub "edem-pub (1 commits)")[![HelloWorlcl](https://avatars.githubusercontent.com/u/33055918?v=4)](https://github.com/HelloWorlcl "HelloWorlcl (1 commits)")[![nux-anokhin](https://avatars.githubusercontent.com/u/176285183?v=4)](https://github.com/nux-anokhin "nux-anokhin (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Code StyleECS

Type Coverage Yes

### Embed Badge

![Health badge](/badges/ddd-module-snapshotting/health.svg)

```
[![Health](https://phpackages.com/badges/ddd-module-snapshotting/health.svg)](https://phpackages.com/packages/ddd-module-snapshotting)
```

###  Alternatives

[oat-sa/tao-core

TAO core extension

66143.7k124](/packages/oat-sa-tao-core)[typo3/cms-redirects

TYPO3 CMS Redirects - Create manual redirects, list existing redirects and automatically createredirects on slug changes.

167.4M80](/packages/typo3-cms-redirects)[rias/statamic-redirect

29335.6k](/packages/rias-statamic-redirect)[terminal42/contao-node

Node bundle for Contao Open Source CMS

3177.0k6](/packages/terminal42-contao-node)[ronasit/laravel-helpers

Provided helpers function and some helper class.

2085.6k31](/packages/ronasit-laravel-helpers)[eliashaeussler/typo3-form-consent

Extension for TYPO3 CMS that adds double opt-in functionality to EXT:form

1595.5k](/packages/eliashaeussler-typo3-form-consent)

PHPackages © 2026

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