Skip to content
PHP 7.2 Event Store HTTP Client Implementation
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples Change copyright Jul 1, 2019
src Fix fatal error when creating ProjectionDetails Oct 1, 2019
tests Change copyright Jul 1, 2019
.coveralls.yml initial commit Dec 9, 2018
.docheader
.gitattributes initial commit Dec 9, 2018
.gitignore initial commit Dec 9, 2018
.php_cs initial commit Dec 9, 2018
.travis.yml
CHANGELOG.md Update CHANGELOG.md May 10, 2019
LICENSE Change copyright Jul 1, 2019
README.md update readme Dec 9, 2018
composer.json bugfixes Jun 16, 2019
phpunit.xml.dist

README.md

Prooph Event Store HTTP Client

PHP 7.2 Event Store HTTP Client Implementation.

Build Status Coverage Status Gitter

Overview

Prooph Event Store HTTP Client supports communication via HTTP to EventStore.

For usage in async event loop, use the TCP Connection instead.

Installation

Client

You can install prooph/event-store-http-client via composer by adding "prooph/event-store-http-client": "dev-master" as requirement to your composer.json.

Server

Using docker:

docker run --name eventstore-node -it -p 2113:2113 -p 1113:1113 eventstore/eventstore

Please refer to the documentation of eventstore.org.

See server section.

In the docker-folder you'll find three different docker-compose setups (single node, 3-node-cluster and 3-node-dns-cluster).

Unit tests

Run the server with memory database

./run-node.sh --run-projections=all --mem-db
./vendor/bin/phpunit

Those are tests that only work against an empty database and can only be run manually.

Before next run, restart the server. This way you can always start with a clean server.

Documentation

Documentation is on the prooph website.

Support

Contribute

Please feel free to fork and extend existing or add new plugins and send a pull request with your changes! To establish a consistent code quality, please provide unit tests for all your changes and may adapt the documentation.

License

Released under the New BSD License.

You can’t perform that action at this time.