PHPackages                             proophsoftware/event-machine - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. proophsoftware/event-machine

ActiveLibrary[Framework](/categories/framework)

proophsoftware/event-machine
============================

Opinionated Event Sourcing Framework based on prooph components

v1.0.0(7y ago)508124[11 issues](https://github.com/proophsoftware/event-machine/issues)4BSD-3-ClausePHPPHP ^7.1CI failing

Since Dec 16Pushed 6y ago10 watchersCompare

[ Source](https://github.com/proophsoftware/event-machine)[ Packagist](https://packagist.org/packages/proophsoftware/event-machine)[ Docs](http://prooph.de/)[ RSS](/packages/proophsoftware-event-machine/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (22)Versions (51)Used By (4)

prooph software Event Machine
=============================

[](#prooph-software-event-machine)

[![Build Status](https://camo.githubusercontent.com/a82d5f956fb480a889b8b3562f5c1bf88ddc03a1b6acab53ecd129552f7d3d4b/68747470733a2f2f7472617669732d63692e6f72672f70726f6f7068736f6674776172652f6576656e742d6d616368696e652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/proophsoftware/event-machine)[![Coverage Status](https://camo.githubusercontent.com/308cdeee16d41d141a69befd669c6564bede54a371a65a59a8a54e952af125ed/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f70726f6f7068736f6674776172652f6576656e742d6d616368696e652f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/proophsoftware/event-machine?branch=master)[![Gitter](https://camo.githubusercontent.com/abe08b740a4156153736f791393ec4da6619c4be73212e75769f52edacc0e2b5/68747470733a2f2f6261646765732e6769747465722e696d2f4a6f696e253230436861742e737667)](https://gitter.im/proophsoftware/chat)

**Superseded by [Event Engine](https://event-engine.io/)**

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](https://github.com/event-engine/php-engine#supersedes-event-machine) for further information.

Intro
-----

[](#intro)

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)

[![Choose Your Flavour](https://camo.githubusercontent.com/3b64e74f44cf884e185f87734915af2367fe5afb54b48e51ff38e078312b328d/68747470733a2f2f70726f6f7068736f6674776172652e6769746875622e696f2f6576656e742d6d616368696e652f696d672f43686f6f73655f466c61766f75722e706e67)](https://camo.githubusercontent.com/3b64e74f44cf884e185f87734915af2367fe5afb54b48e51ff38e078312b328d/68747470733a2f2f70726f6f7068736f6674776172652e6769746875622e696f2f6576656e742d6d616368696e652f696d672f43686f6f73655f466c61766f75722e706e67)

Event Sourcing Engine
---------------------

[](#event-sourcing-engine)

[![Choose Your Flavour](https://camo.githubusercontent.com/013aae3a6b340eda2154685e6d25fa98c8f0fbfd6b4dea6d4f64cf1d1b78b1d7/68747470733a2f2f70726f6f7068736f6674776172652e6769746875622e696f2f6576656e742d6d616368696e652f6170692f696d672f4167677265676174655f4c6966656379636c652e706e67)](https://camo.githubusercontent.com/013aae3a6b340eda2154685e6d25fa98c8f0fbfd6b4dea6d4f64cf1d1b78b1d7/68747470733a2f2f70726f6f7068736f6674776172652e6769746875622e696f2f6576656e742d6d616368696e652f6170692f696d672f4167677265676174655f4c6966656379636c652e706e67)

Installation
------------

[](#installation)

Head over to the [skeleton](https://github.com/proophsoftware/event-machine-skeleton)!

Tutorial
--------

[](#tutorial)

[![Tutorial](https://camo.githubusercontent.com/efb4155734a47f2b4509c7d414c8d92eff756790f7c016d341d7f000df905a47/68747470733a2f2f70726f6f7068736f6674776172652e6769746875622e696f2f6576656e742d6d616368696e652f696d672f7475746f7269616c5f73637265656e2e706e67)](https://proophsoftware.github.io/event-machine/tutorial/)

**[GET STARTED](https://proophsoftware.github.io/event-machine/tutorial/)**

Documentation
-------------

[](#documentation)

Source of the docs is managed in a separate [repo](https://github.com/proophsoftware/event-machine-docs)

Run Tests
---------

[](#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
--------------------------

[](#powered-by-prooph-software)

[![prooph software](https://github.com/codeliner/php-ddd-cargo-sample/raw/master/docs/assets/prooph-software-logo.png)](http://prooph.de)

Event Machine is maintained by the [prooph software team](http://prooph-software.de/). 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](http://getprooph.org/).

If you are interested in this offer or need project support please [get in touch](http://getprooph.org/#get-in-touch)

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~10 days

Recently: every ~37 days

Total

45

Last Release

2613d ago

Major Versions

v0.12.0 → v1.0-alpha.12018-02-11

v0.21.1 → v1.0.02019-03-19

### Community

Maintainers

![](https://www.gravatar.com/avatar/e14a3b6de25e60cb289c51b23c58ffd8c56b28053deb4a75d3b7ea6b7fa03809?d=identicon)[proophsoftware](/maintainers/proophsoftware)

---

Top Contributors

[![camuthig](https://avatars.githubusercontent.com/u/5178217?v=4)](https://github.com/camuthig "camuthig (13 commits)")[![martin-schilling](https://avatars.githubusercontent.com/u/25640275?v=4)](https://github.com/martin-schilling "martin-schilling (13 commits)")[![sandrokeil](https://avatars.githubusercontent.com/u/3597436?v=4)](https://github.com/sandrokeil "sandrokeil (2 commits)")

---

Tags

cqrscqrs-frameworkevent-sourcingphp7proophrad

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/proophsoftware-event-machine/health.svg)

```
[![Health](https://phpackages.com/badges/proophsoftware-event-machine/health.svg)](https://phpackages.com/packages/proophsoftware-event-machine)
```

###  Alternatives

[symfony/symfony

The Symfony PHP framework

31.3k86.3M2.2k](/packages/symfony-symfony)[cakephp/cakephp

The CakePHP framework

8.8k18.5M1.6k](/packages/cakephp-cakephp)[silverstripe/framework

The SilverStripe framework

7213.5M2.5k](/packages/silverstripe-framework)[neos/flow

Flow Application Framework

862.0M451](/packages/neos-flow)[elgg/elgg

Elgg is an award-winning social networking engine, delivering the building blocks that enable businesses, schools, universities and associations to create their own fully-featured social networks and applications.

1.7k15.7k5](/packages/elgg-elgg)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
