Download the PHP package morebec/orkestra-event-sourcing without Composer
On this page you can find all versions of the php package morebec/orkestra-event-sourcing. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download morebec/orkestra-event-sourcing
More information about morebec/orkestra-event-sourcing
Files in morebec/orkestra-event-sourcing
Package orkestra-event-sourcing
Short Description Orkestra component providing utilities and classes for implementing Event Sourcing
License Apache-2.0
Informations about the package orkestra-event-sourcing
Event Sourcing
The Event Sourcing Orkestra component provides utilities and classes for implementing Event Sourcing in a system Using PHP.
It can be seen as persistence agnostic library that serves as an abstraction over the concept of an Event Store. It also provides utilities for modeling Event Sourced Aggregate Roots in a DDD sense, as well as schema validation and migration tools through an upcasting pipeline. It also supports snapshotting and projections.
Note: Being an abstraction library, this component does not provide any concrete implementation of an Event Store (except for an in memory one used for testing), it simply provides the required interface to support the concepts. For an actual implementation this component can be used in tandem with the official companion component
morebec/orkestra-postgresql-eventstore
.You are however, free to implement your own concrete storage implementation according to your system's technology stack. In that case you can refer yourself to the PostgreSQL implementation.
Features:
- Event schema migrations through Upcasting
- Modeling classes for Event Sourced Aggregate Roots
- Projections support
- Snapshotting
Need help? Have Question?
Create an issue or a discussion on the Orkestra Repository, we will be glad to help you as best as we can!
Getting Started
Install the component in your project through composer.
Usage
For usage read the documentation
Reading from a Stream
Reading from a stream is also very simple:
All versions of orkestra-event-sourcing with dependencies
ramsey/uuid Version ^4.1
morebec/orkestra-datetime Version ^2.5.6
morebec/orkestra-enum Version ^2.5.6
morebec/orkestra-modeling Version ^2.5.6
morebec/orkestra-messaging Version ^2.5.6
morebec/orkestra-normalization Version ^2.5.6
morebec/orkestra-worker Version ^2.5.6