2017 © Pedro Peláez
 

library httplug-event-store

HTTP EventStore implementation using HTTP API

image

prooph/httplug-event-store

HTTP EventStore implementation using HTTP API

  • Saturday, October 14, 2017
  • by prooph
  • Repository
  • 3 Watchers
  • 3 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Prooph httplug EventStore implementation using HTTP API

Build Status Coverage Status Gitter, (*1)

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., (*2)

The httplug event store is an implementation that uses httplug to communicate with the HTTP-API., (*3)

Usage

This example uses Guzzle6 httplug adapter, (*4)

$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., (*5)

License

Released under the New BSD License., (*6)

The Versions