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.5(2mo ago)03.7k↑168.8%11proprietaryPHPPHP ^8.1CI failing

Since Apr 24Pushed 2mo 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 today

READMEChangelog (10)Dependencies (28)Versions (30)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

50

—

FairBetter than 95% of packages

Maintenance86

Actively maintained with recent releases

Popularity22

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 73.9% 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 ~95 days

Recently: every ~31 days

Total

24

Last Release

72d 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 (17 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

[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)[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)
