PHPackages                             madkom/eventstore-client - 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. [API Development](/categories/api)
4. /
5. madkom/eventstore-client

ActiveLibrary[API Development](/categories/api)

madkom/eventstore-client
========================

EventStore client for PHP

0.9.5(10y ago)143143[1 issues](https://github.com/madkom/event-store-client/issues)MITPHPPHP &gt;=5.5.0

Since Sep 18Pushed 10y ago7 watchersCompare

[ Source](https://github.com/madkom/event-store-client)[ Packagist](https://packagist.org/packages/madkom/eventstore-client)[ RSS](/packages/madkom-eventstore-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (6)Versions (8)Used By (0)

Event Store Client
==================

[](#event-store-client)

Client for [event store](https://geteventstore.com/) TCP Api

[![Build Status](https://camo.githubusercontent.com/090c34e08472db06736243da26632737a2d2bf719fafadf01655b81f4c6c3a94/68747470733a2f2f7472617669732d63692e6f72672f6d61646b6f6d2f6576656e742d73746f72652d636c69656e742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/madkom/event-store-client)[![Stories in Ready](https://camo.githubusercontent.com/887140f1eb6df7e1fdfedca4641d2b11603d3324cf718d700fab8fc8487efec7/68747470733a2f2f62616467652e776166666c652e696f2f6d61646b6f6d2f6576656e742d73746f72652d636c69656e742e706e673f6c6162656c3d7265616479267469746c653d5265616479)](https://waffle.io/madkom/event-store-client)

---

### Requirements

[](#requirements)

- Protobuf extension need to be installed, you can find it here [protobuf-allegro](https://github.com/allegro/php-protobuf). It is very fast library for building stream data ready to send over sockets.

    ```
      Installation:
      1. git clone git@github.com:allegro/php-protobuf.git
      2. Enter the catalog with protobuf
      3. phpize && ./configure && sudo make install
      4. Add extension to your php.ini `extension = protobuf.so`

    ```

### Example usage

[](#example-usage)

Can be found [here](https://github.com/madkom/event-source-client/blob/master/usage/usageExample.php)If you have running event store instance and protobuf extension installed, you can replace `gethostbyname('es')` in usages with your ES's IP.
Otherwise if you don't have running instance of event store. You can run it by using `docker`.
With following command: `docker-compose up` and log in to the php+protobuf container by using command:

- `docker exec -it eventstoreclient_php-protobuf_1 /bin/bash`
- `php /var/www/usage/usageExample.php`

License
-------

[](#license)

The MIT License (MIT)

Copyright (c) 2015 Madkom S.A.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

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

Recently: every ~32 days

Total

7

Last Release

3764d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/406fcac8020975863dc6ca1f7cf729eb9755911131bce696ba502218c0536be5?d=identicon)[Madkom](/maintainers/Madkom)

---

Top Contributors

[![dgafka](https://avatars.githubusercontent.com/u/6060791?v=4)](https://github.com/dgafka "dgafka (5 commits)")[![rhofland](https://avatars.githubusercontent.com/u/12649353?v=4)](https://github.com/rhofland "rhofland (4 commits)")[![brzuchal](https://avatars.githubusercontent.com/u/3149753?v=4)](https://github.com/brzuchal "brzuchal (3 commits)")[![JurJean](https://avatars.githubusercontent.com/u/409761?v=4)](https://github.com/JurJean "JurJean (3 commits)")[![waffle-iron](https://avatars.githubusercontent.com/u/6912981?v=4)](https://github.com/waffle-iron "waffle-iron (1 commits)")

---

Tags

clientSocketEventSourcingEventStore

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/madkom-eventstore-client/health.svg)

```
[![Health](https://phpackages.com/badges/madkom-eventstore-client/health.svg)](https://phpackages.com/packages/madkom-eventstore-client)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[algolia/algoliasearch-client-php

API powering the features of Algolia.

69433.0M114](/packages/algolia-algoliasearch-client-php)[temporal/sdk

Temporal SDK

4002.2M18](/packages/temporal-sdk)[wheelpros/fitment-platform-api

Magento 2 (Open Source)

12.1k1.2k](/packages/wheelpros-fitment-platform-api)[freshcells/soap-client-bundle

SoapClientBundle for symfony

35151.0k](/packages/freshcells-soap-client-bundle)[prooph/event-store-http-client

Event Store HTTP Client

2532.8k2](/packages/prooph-event-store-http-client)

PHPackages © 2026

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