PHPackages                             makinacorpus/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. makinacorpus/event-store

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

makinacorpus/event-store
========================

Simple event store implementation

1.0.8(3y ago)05.0k1GPL-2.0-or-laterPHPPHP &gt;=8.0

Since Feb 9Pushed 3y ago2 watchersCompare

[ Source](https://github.com/makinacorpus/php-event-store)[ Packagist](https://packagist.org/packages/makinacorpus/event-store)[ Docs](http://github.com/makinacorpus/php-event-store)[ RSS](/packages/makinacorpus-event-store/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (14)Versions (9)Used By (1)

Event Store
===========

[](#event-store)

Opiniated event store implementation in PHP over PostgreSQL.

Please note that it is built over `makinacorpus/goat-query` SQL query builder and database connector. Any driver that supports PostgreSQL `RETURNING` clause equivalent will work.

Setup
=====

[](#setup)

First of all, install this package:

```
composer install makinacorpus/event-store
```

It is also recommended to chose an UUID implementation:

```
composer install ramsey/uuid
```

Or:

```
composer install symfony/uid
```

My favorite remains `ramsey/uuid`.

Symfony
-------

[](#symfony)

Start by installing the `makinacorpus/goat-query-bundle` Symfony bundle:

```
composer install makinacorpus/goat-query-bundle
```

And configure it as documented.

Then register the bundle into your `config/bundles.php` file:

```
