PHPackages                             lzakrzewski/http-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. [HTTP &amp; Networking](/categories/http)
4. /
5. lzakrzewski/http-event-store

ActiveLibrary[HTTP &amp; Networking](/categories/http)

lzakrzewski/http-event-store
============================

Client for communication with event store http api

0.0.5(10y ago)271↓84.6%MITPHPPHP &gt;=5.6

Since Jun 6Pushed 10y agoCompare

[ Source](https://github.com/lzakrzewski/http-event-store)[ Packagist](https://packagist.org/packages/lzakrzewski/http-event-store)[ RSS](/packages/lzakrzewski-http-event-store/feed)WikiDiscussions master Synced 4w ago

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

HttpEventStore
==============

[](#httpeventstore)

[![Build Status](https://camo.githubusercontent.com/645242be8e550a3fc8bf25e15b661be674b5a391c6fcca32ecb1d929884c7828/68747470733a2f2f7472617669732d63692e6f72672f6c7a616b727a6577736b692f687474702d6576656e742d73746f72652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/lzakrzewski/http-event-store) [![Latest Unstable Version](https://camo.githubusercontent.com/41bd992d7b99899af00545a10b763c7e0811ae344f73cf94395e05a71518f1dd/68747470733a2f2f706f7365722e707567782e6f72672f6c7a616b727a6577736b692f687474702d6576656e742d73746f72652f762f756e737461626c65)](https://packagist.org/packages/lzakrzewski/http-event-store) [![Total Downloads](https://camo.githubusercontent.com/32f6dc817f4853fa988644a48536a97bb7e480e1cd9dfc98dd2f235542aeb56c/68747470733a2f2f706f7365722e707567782e6f72672f6c7a616b727a6577736b692f687474702d6576656e742d73746f72652f646f776e6c6f616473)](https://packagist.org/packages/lzakrzewski/http-event-store)

Client for communication with Event Store `HTTP API`. Read more about Event Store `HTTP API` .

This library is independent part of [es-sandbox](https://github.com/lzakrzewski/es-sandbox).

Requirements
------------

[](#requirements)

```
  "require": {
    "php": ">=5.6",
    "guzzlehttp/guzzle": "~6.0",
    "ramsey/uuid" : "~3.0"
  }
```

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

[](#installation)

Require the library with composer:

```
composer require lzakrzewski/http-event-store
```

Usage
-----

[](#usage)

- [EventStore](doc/event-store.md)
- [Projection](doc/projection.md)

Example
-------

[](#example)

```
$streamId = Uuid::uuid4()->toString();

$eventStore = \HttpEventStore\Http\HttpEventStore::create('127.0.0.1', '2113');
$event1     = new \HttpEventStore\WritableEvent('productWasAddedToBasket', ['productId' => 'product1', 'name' => 'Teapot']);
$event2     = new \HttpEventStore\WritableEvent('productWasRemovedFromBasket', ['productId' => 'product1']);

// Writing to a Stream
$eventStore->writeStream($streamId, [$event1, $event2]);

// Reading from a Stream
$events = $eventStore->readStream($streamId);

 // Your logic with events there...
```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity52

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

Total

5

Last Release

3675d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4248462?v=4)[Łukasz Zakrzewski](/maintainers/lzakrzewski)[@lzakrzewski](https://github.com/lzakrzewski)

---

Top Contributors

[![lzakrzewski](https://avatars.githubusercontent.com/u/4248462?v=4)](https://github.com/lzakrzewski "lzakrzewski (24 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lzakrzewski-http-event-store/health.svg)

```
[![Health](https://phpackages.com/badges/lzakrzewski-http-event-store/health.svg)](https://phpackages.com/packages/lzakrzewski-http-event-store)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k532.1M19.5k](/packages/laravel-framework)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k496.1k34](/packages/neuron-core-neuron-ai)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M528](/packages/shopware-core)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

252.5k](/packages/eslazarev-wildberries-sdk)

PHPackages © 2026

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