prooph / httplug-event-store
HTTP EventStore implementation using HTTP API
Requires
- php: ^7.1
- prooph/event-store: ^7.2
Requires (Dev)
- php-http/guzzle6-adapter: ^1.1.1
- phpspec/prophecy: ^1.7
- phpunit/phpunit: ^6.0
- prooph/php-cs-fixer-config: ^0.3
- psr/container: ^1.0
- sandrokeil/interop-config: ^2.1
- satooshi/php-coveralls: ^1.0
Conflicts
This package is auto-updated.
Last update: 2024-11-17 01:52:30 UTC
README
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\Plugin
s
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
- Ask questions on Stack Overflow tagged with #prooph.
- File issues at https://github.com/prooph/event-store-http-api/issues.
- Say hello in the prooph gitter chat.
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.