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

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

micro-module/snapshotting
=========================

POC for snapshotting aggregates in broadway/broadway

v0.8.2(3mo ago)01.8k↑200%1proprietaryPHPPHP ^8.1

Since Apr 24Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/temafey/micro_modules_snapshotting)[ Packagist](https://packagist.org/packages/micro-module/snapshotting)[ RSS](/packages/micro-module-snapshotting/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (14)Versions (27)Used By (0)

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

48

—

FairBetter than 95% of packages

Maintenance84

Actively maintained with recent releases

Popularity19

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 71.4% 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 ~104 days

Recently: every ~70 days

Total

21

Last Release

118d ago

PHP version history (4 changes)v0.4.0PHP ^7.3

v0.5.0PHP ^7.3 || ^8.0

v0.6.0.x-devPHP ^8.0

v0.8.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/bb0e6b6ff14b9d53d413617c42ddb1f83ff451c32beac02bc4ebebb6cfabeb00?d=identicon)[temafey](/maintainers/temafey)

---

Top Contributors

[![temafey](https://avatars.githubusercontent.com/u/981101?v=4)](https://github.com/temafey "temafey (15 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

Code StyleECS

Type Coverage Yes

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/micro-module-snapshotting/health.svg)](https://phpackages.com/packages/micro-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)
