Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 797 Bytes

README.md

File metadata and controls

29 lines (17 loc) · 797 Bytes

Event Sourcing Snapshot Store

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.