Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.77 KB

README.md

File metadata and controls

39 lines (25 loc) · 1.77 KB

Prooph httplug EventStore implementation using HTTP API

Build Status Coverage Status Gitter

Overview

Prooph Event Store is capable of persisting event messages that are organized in streams. Prooph\EventStore\EventStore itself is a facade for different persistence adapters (see the list below) and adds event-driven hook points for Prooph\EventStore\Plugin\Plugins which make the Event Store highly customizable.

The httplug event store is an implementation that uses httplug to communicate with the HTTP-API.

Usage

This example uses Guzzle6 httplug adapter

$httplug = new \Http\Adapter\Guzzle6\Client();
$eventStore = new \Prooph\EventStore\Httplug($httpPlug, $options);

$streamEvents =$eventStore->load(new StreamName('test-stream'));

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.