https://github.com/prooph/httplug-event-store
HTTP event-store implementation talking with http-api
https://github.com/prooph/httplug-event-store
api cqrs event-sourcing event-store http httplug php prooph
Last synced: 5 months ago
JSON representation
HTTP event-store implementation talking with http-api
- Host: GitHub
- URL: https://github.com/prooph/httplug-event-store
- Owner: prooph
- License: bsd-3-clause
- Created: 2017-07-07T12:44:50.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-11-02T15:34:49.000Z (over 7 years ago)
- Last Synced: 2025-06-09T22:07:12.865Z (8 months ago)
- Topics: api, cqrs, event-sourcing, event-store, http, httplug, php, prooph
- Language: PHP
- Size: 51.8 KB
- Stars: 4
- Watchers: 5
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Prooph httplug EventStore implementation using HTTP API
[](https://travis-ci.org/prooph/httplug-event-store)
[](https://coveralls.io/github/prooph/httplug-event-store?branch=master)
[](https://gitter.im/prooph/improoph)
## 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](https://github.com/prooph/event-store-http-api/).
## Usage
This example uses Guzzle6 httplug adapter
```php
$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](https://stackoverflow.com/questions/tagged/prooph).
- File issues at [https://github.com/prooph/event-store-http-api/issues](https://github.com/prooph/event-store-http-api/issues).
- Say hello in the [prooph gitter](https://gitter.im/prooph/improoph) 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](LICENSE).