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)0331proprietaryPHPPHP ^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 1mo ago

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

31

—

LowBetter than 68% of packages

Maintenance41

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity54

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

493d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fb4e82dfa2915168c9f7d7b3e19244210c520d96bccdc9e6f79c592cc6cb43fd?d=identicon)[kraicdesign](/maintainers/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

[codefog/contao-haste

haste extension for Contao Open Source CMS

42650.8k139](/packages/codefog-contao-haste)[eliashaeussler/typo3-form-consent

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

1481.0k](/packages/eliashaeussler-typo3-form-consent)[ronasit/laravel-helpers

Provided helpers function and some helper class.

1475.7k13](/packages/ronasit-laravel-helpers)[inspiredminds/contao-fieldset-duplication

Contao extension to allow the duplication of form fieldsets in the front end by the user for additional input fields.

158.2k1](/packages/inspiredminds-contao-fieldset-duplication)[numero2/contao-storelocator

Contao Plugin for managing stores (or in common address data) and providing a frontend-search based on geo data

121.5k](/packages/numero2-contao-storelocator)

PHPackages © 2026

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