phauthentic/snapshot-store

dev-master 2024-07-19 10:45 UTC

This package is auto-updated.

Last update: 2024-12-19 11:46:37 UTC


README

This is a snapshot store for the Phauthentic event sourcing library.

Snapshotting is a technique used to reduce the number of events that need to be replayed to reconstitute an aggregate. Snapshots are taken periodically and stored in a snapshot store. When an aggregate is loaded, the snapshot is loaded first and then the events are replayed on top of the snapshot.

Installation

composer require phauthentic/snapshot-store

Running tests:

docker compose up
docker exec -it phpunit-container bin/phpunit

Documentation

Please start by reading docs/index.md in this repository.

License

Copyright Florian Krämer

Licensed under the MIT license.