Opinionated Event Sourcing Framework based on prooph components

v1.0.0 2019-03-19 23:05 UTC


Build Status Coverage Status Gitter

Superseded by Event Engine

Event Engine

Event Engine is a newer version of Event Machine with a different name but the same basic concepts. It's recommended to use Event Engine, because development of Event Machine is not continued (except bugfixes).

Check the note in the Event Engine readme for further information.


Event Machine 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 Machine with Flavours. Choose between different programming styles.

Choose Your Flavour

Choose Your Flavour

Event Sourcing Engine

Choose Your Flavour


Head over to the skeleton!





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.1 install --prefer-source

Powered by prooph software

prooph software

Event Machine is maintained by the prooph software team. The source code of Event Machine is open sourced along with an API documentation and a Getting Started Tutorial. Prooph software offers commercial support and workshops for Event Machine as well as for the prooph components.

If you are interested in this offer or need project support please get in touch