https://github.com/prooph/event-store-http-client
PHP 7.2 Event Store HTTP Client Implementation
https://github.com/prooph/event-store-http-client
ddd event-sourcing event-store eventsourcing eventstore php prooph
Last synced: 4 months ago
JSON representation
PHP 7.2 Event Store HTTP Client Implementation
- Host: GitHub
- URL: https://github.com/prooph/event-store-http-client
- Owner: prooph
- License: bsd-3-clause
- Created: 2018-12-09T14:16:24.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-11-25T22:30:18.000Z (almost 5 years ago)
- Last Synced: 2025-06-09T22:06:26.058Z (4 months ago)
- Topics: ddd, event-sourcing, event-store, eventsourcing, eventstore, php, prooph
- Language: PHP
- Homepage:
- Size: 353 KB
- Stars: 25
- Watchers: 7
- Forks: 5
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Prooph Event Store HTTP Client
PHP 7.2 Event Store HTTP Client Implementation.
[](https://travis-ci.org/prooph/event-store-http-client)
[](https://coveralls.io/github/prooph/event-store-http-client?branch=master)
[](https://gitter.im/prooph/improoph)## Overview
Prooph Event Store HTTP Client supports communication via HTTP to [EventStore](https://eventstore.org/).
For usage in async event loop, use the [TCP Connection](https://github.com/prooph/event-store-client) instead.
## Installation
### Client
You can install prooph/event-store-http-client via composer by adding `"prooph/event-store-http-client": "dev-master"` as requirement to your composer.json.
### Server
Using docker:
```bash
docker run --name eventstore-node -it -p 2113:2113 -p 1113:1113 eventstore/eventstore
```Please refer to the documentation of [eventstore.org](https://eventstore.org).
See [server section](https://eventstore.org/docs/server/index.html).
In the docker-folder you'll find three different docker-compose setups (single node, 3-node-cluster and 3-node-dns-cluster).
## Unit tests
Run the server with memory database
```console
./run-node.sh --run-projections=all --mem-db
``````console
./vendor/bin/phpunit
```Those are tests that only work against an empty database and can only be run manually.
Before next run, restart the server. This way you can always start with a clean server.
## Documentation
Documentation is on the [prooph website](http://docs.getprooph.org/).
## 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-client/issues](https://github.com/prooph/event-store-http-client/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).