PHPackages                             dance-engineer/event-sauce-prooph-event-store - 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. [Database &amp; ORM](/categories/database)
4. /
5. dance-engineer/event-sauce-prooph-event-store

AbandonedArchivedLibrary[Database &amp; ORM](/categories/database)

dance-engineer/event-sauce-prooph-event-store
=============================================

A repository for EventSauce that connects to a Prooph Event Store

1.0.0(5y ago)0137GPL-3.0PHPPHP ^7.4

Since Apr 15Pushed 4y agoCompare

[ Source](https://github.com/Dance-Engineer/event-sauce-prooph-event-store)[ Packagist](https://packagist.org/packages/dance-engineer/event-sauce-prooph-event-store)[ RSS](/packages/dance-engineer-event-sauce-prooph-event-store/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (3)Dependencies (6)Versions (4)Used By (0)

event-sauce-prooph-event-store
==============================

[](#event-sauce-prooph-event-store)

A repository for EventSauce that connects to a Prooph Event Store.

Why?
----

[](#why)

Prooph components are very opiniated about how you should write your code.

Most of the components for event-sourcing are [deprecated now](https://www.sasaprolic.com/2018/08/the-future-of-prooph-components.html) and so not work with the few component that are still being developed and are maintained.

One of the few that are still maintained is the interface forpersistance into an `event store`. With it also many implememntations like `PDO` and `Event Store` database. Furthermore they offer several useful strategies for segmentation of events in the event store.

Therefore it is useful to do your event sourcing with `EventSauce` and to your event storage with `Prooph`. This library offers you just that. Take advantage of `Prooph` comprehensive persistance layer.

Usage
-----

[](#usage)

```
function createInGeneral(): \EventSauce\EventSourcing\AggregateRootRepository
{
    /** @var \Prooph\EventStore\EventStore $eventStore */
    // Your Event Store has implementation has to use EventSauceMessageFactory to create messages from data!!

    $configuredEventStore = new ConfiguredEventStore($eventStore);
    return new ProophEventStoreRepository(\EventSauce\EventSourcing\AggregateRoot::class, $configuredEventStore);
}

function createConcreteExample(): \EventSauce\EventSourcing\AggregateRootRepository
{
    $eventStore = new \Prooph\EventStore\Pdo\PostgresEventStore(
        new EventSauceMessageFactory(), // Your Event Store has to use this class to create messages from data!!
        new \PDO('you know how to configure a PDO connection, don\'t you?'),
        new \Prooph\EventStore\Pdo\PersistenceStrategy\PostgresAggregateStreamStrategy()
    );

    $configuredEventStore = new ConfiguredEventStore($eventStore, true);
    return new ProophEventStoreRepository(\EventSauce\EventSourcing\AggregateRoot::class, $configuredEventStore);
}

function createFullConfig(): \EventSauce\EventSourcing\AggregateRootRepository
{
    /** @var \Prooph\EventStore\EventStore $eventStore */
    // Your Event Store has implementation has to use EventSauceMessageFactory to create messages from data!!

    $configuredEventStore = new ConfiguredEventStore($eventStore, false, ['stream_tag' => 'banana'], new
    \Prooph\EventStore\StreamName('lama'));
    return new ProophEventStoreRepository(\EventSauce\EventSourcing\AggregateRoot::class, $configuredEventStore, new
    \EventSauce\EventSourcing\CollectingMessageDispatcher(), new \EventSauce\EventSourcing\DefaultHeadersDecorator());
}
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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 ~44 days

Total

3

Last Release

2131d ago

Major Versions

0.1.1 → 1.0.02020-07-12

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1620948?v=4)[Patrick Kusebauch](/maintainers/patrickkusebauch)[@patrickkusebauch](https://github.com/patrickkusebauch)

---

Top Contributors

[![patrickkusebauch](https://avatars.githubusercontent.com/u/1620948?v=4)](https://github.com/patrickkusebauch "patrickkusebauch (11 commits)")

###  Code Quality

Static AnalysisPHPStan, Psalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/dance-engineer-event-sauce-prooph-event-store/health.svg)

```
[![Health](https://phpackages.com/badges/dance-engineer-event-sauce-prooph-event-store/health.svg)](https://phpackages.com/packages/dance-engineer-event-sauce-prooph-event-store)
```

###  Alternatives

[bavix/laravel-wallet

It's easy to work with a virtual wallet.

1.3k1.1M11](/packages/bavix-laravel-wallet)[dyrynda/laravel-model-uuid

This package allows you to easily work with UUIDs in your Laravel models.

4802.8M8](/packages/dyrynda-laravel-model-uuid)[google/cloud-bigquery

BigQuery Client for PHP

8817.2M41](/packages/google-cloud-bigquery)[formal/orm

324.0k1](/packages/formal-orm)

PHPackages © 2026

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