arnedesmedt / php-engine
CQRS / ES PHP SDK for event-engine.io
Requires
- php: ^7.3 || ^8.0
- codeliner/array-reader: ^2.0
- event-engine/php-data: ^1.0 || ^2.0.1
- event-engine/php-engine-utils: ^0.1 || ^0.2.1
- event-engine/php-logger: ^0.1 || ^0.2.2
- event-engine/php-messaging: ^0.1 || ^0.2.1
- event-engine/php-persistence: ^0.8 || ^0.9.1
- event-engine/php-schema: ^0.1 || ^0.2 || ^0.3
- fig/http-message-util: ^1.1
- psr/container: ^1.0 || ^2.0
- psr/http-message: ^1.0
- psr/http-server-middleware: ^1.0
Requires (Dev)
- bookdown/bookdown: 1.x-dev
- event-engine/php-json-schema: ^1.0 || ^2.0
- event-engine/prooph-v7-event-store: ^0.9 || ^0.10
- justinrainbow/json-schema: ^5.2
- malukenho/docheader: ^0.1.4
- opis/json-schema: ^1.0
- php-coveralls/php-coveralls: ^2.0
- phpspec/prophecy-phpunit: ^2.0
- phpunit/phpunit: ^9.0
- prooph/php-cs-fixer-config: ^0.4
- ramsey/uuid: ^3.6 || ^4.0
- roave/security-advisories: dev-latest
README
The world's only CQRS / ES framework that lets you pick your Flavour
Intro
Event Engine is a CQRS / EventSourcing framework for PHP to help you rapidly develop event sourced applications, while providing a path to refactor towards a richer domain model as needed. Customize Event Engine with Flavours. Choose between different programming styles.
Choose Your Flavour
Event Sourcing Engine
Installation
Head over to the skeleton!
Tutorial
Documentation
Source of the docs is managed in a separate repo
Run Tests
Some tests require existence of prooph/event-store tests which are usually not installed due to .gitattributes
excluding them.
Unfortunately, composer does not offer a reinstall command so we have to remove prooph/event-store
package from the vendor folder
manually and install it again using --prefer-source
flag.
$ rm -rf vendor/prooph/event-store $ docker run --rm -it -v $(pwd):/app --user="$(id -u):$(id -g)" prooph/composer:7.2 install --prefer-source
Supersedes Event Machine
The first version of this project is called Event Machine and can be found in another repo: https://github.com/proophsoftware/event-machine.
We had to change the name due to naming conflicts with other projects. In fact, Event Engine is a newer version of Event Machine using the same concepts.
Powered by prooph software
Event Engine is maintained by the prooph software team. The source code of Event Engine is open sourced along with an API documentation and a Getting Started Tutorial. Prooph software offers commercial support and workshops for Event Engine and the prooph components.
If you are interested please get in touch