phauthentic / snapshot-store
dev-master
2024-07-19 10:45 UTC
Requires
- php: ^8.2
Requires (Dev)
- ext-redis: *
- infection/infection: ^0.29.6
- phpmd/phpmd: ^2.15
- phpstan/phpstan: ^1.11
- phpunit/phpunit: ^10.5
- predis/predis: ^2.2
- ramsey/uuid: ^4.7
- squizlabs/php_codesniffer: ^3.9
This package is auto-updated.
Last update: 2024-10-19 11:22:51 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.