https://github.com/phauthentic/snapshot-store
https://github.com/phauthentic/snapshot-store
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/phauthentic/snapshot-store
- Owner: Phauthentic
- License: mit
- Created: 2023-01-11T18:45:02.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-07-19T10:45:59.000Z (almost 2 years ago)
- Last Synced: 2025-01-24T11:34:08.309Z (over 1 year ago)
- Language: PHP
- Size: 226 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Event Sourcing Snapshot Store
This is a snapshot store for the [Phauthentic event sourcing library](https://github.com/phauthentic/event-sourcing).
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
```sh
composer require phauthentic/snapshot-store
```
Running tests:
```sh
docker compose up
docker exec -it phpunit-container bin/phpunit
```
## Documentation
Please start by reading [docs/index.md](/docs/index.md) in this repository.
## License
Copyright Florian Krämer
Licensed under the [MIT license](license.txt).