Skip to content

Installation

Installation

Gember Event Sourcing is not tied to any framework (agnostic). It can be used in any PHP project.

Symfony

For Symfony (^7.1) projects there is a bundle package to ease installation. Further installation details see gember/event-sourcing-symfony-bundle.

Without a framework

Compatible with any application or framework that supports container-interop/service-provider, there is a universal service provider. Further installation details see gember/event-sourcing-universal-service-provider.

Dependencies

Gember Event Sourcing depends on a few external libraries. To keep things flexible, each of these dependencies is kept separate from the core library and moved into its own add-on package. That way, you can easily swap out any dependency for another one you prefer.

The following adapter packages are currently available: - rdbms-event-store-doctrine-dbal - message-bus-symfony - identity-generator-symfony - serializer-symfony

Note: When using the Symfony Bundle or the universal service provider, all dependencies packages are installed automatically.