There was an error while loading. Please reload this page.
PHP EventStore client is available on packagist, we recommend you to install it using composer:
composer require dbellettini/eventstore-client "~0.6"
To work out of the box you will also need to require Guzzle 6.x
composer require guzzlehttp/guzzle "~6.0"
Connecting to EventStore is simple, just create a new EventStore object
use EventStore\EventStore; $es = new EventStore('http://127.0.0.1:2113');
If the connection fails a EventStore\Exception\ConnectionFailedException will be thrown.
EventStore\Exception\ConnectionFailedException