Download the PHP package awd-studio/es-lib without Composer
On this page you can find all versions of the php package awd-studio/es-lib. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download awd-studio/es-lib
More information about awd-studio/es-lib
Files in awd-studio/es-lib
Package es-lib
Short Description An advanced event-sourcing library for PHP 8.3+ designed to handle domain events effectively.
License MIT
Homepage https://github.com/awd-studio/es-lib
Informations about the package es-lib
AWD Event Sourcing library
This is a PHP library designed to simplify the implementation of Event Sourcing patterns in your applications. It provides a robust set of tools and abstractions to manage aggregates, events, event storage, and snapshots, enabling you to build scalable, maintainable, and auditable systems.
What is Event Sourcing?
Event Sourcing is a design pattern where changes to an application's state are captured as a sequence of events. Instead of storing only the current state, the application maintains a history of all events that have occurred. This approach offers several advantages, including:
- Auditability: Every state change is recorded, providing a complete history.
- Scalability: Events can be processed asynchronously or in parallel.
- Reconstructability: Past states can be rebuilt by replaying events.
Features
- [x] Aggregates: Manage domain entities with built-in support for event sourcing.
- [x] Events: Define and handle domain events easily.
- [x] Event Store: Persist and retrieve events from a configurable storage backend.
- [x] Repositories: Simplify loading and saving aggregates.
- [ ] Snapshots: Optimize performance by storing snapshots of aggregate states.
Installation
You can install ES Lib via Composer:
Usage
Se the example section.
Integration
To use the library in your projects, you need to implement such interfaces:
License
This library is licensed under the MIT License. See the LICENSE file for details.
All versions of es-lib with dependencies
awd-studio/vo-date-time Version ^1.0
psr/container Version ^2.0
symfony/uid Version ^7.1