Prooph Event Store Client
PHP 7.4 Event Store Client Implementation.
Prooph Event Store Client supports async non-blocking communication via TCP to EventStore.
EventStoreConnection maintains a full-duplex connection between the client and the Event Store server.
protobuf extension from Google is recommended, however it is not required.
When this extension is missing, the client will fallback to use
google/protobuf installable via composer.
The extension allegro/php-protobuf is not compatible.
Additional extensions are only needed if your app necessitates a high numbers of concurrent socket connections.
You can install prooph/event-store-client via composer by adding
"prooph/event-store-client": "dev-master" as requirement to your composer.json.
docker run --name eventstore-node -it -p 2113:2113 -p 1113:1113 eventstore/eventstore
Please refer to the documentation of eventstore.org.
See server section.
In the docker-folder you'll find three different docker-compose setups (single node, 3-node-cluster and 3-node-dns-cluster).
For a short overview please see the
Run the server with memory database
Note: This is the start-script of the Event Store database, not something provided by this library!
./run-node.sh --run-projections=all --mem-db
You need to ignore the
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 is on the prooph website.
- Ask questions on Stack Overflow tagged with #prooph.
- File issues at https://github.com/prooph/event-store-client/issues.
- Say hello in the prooph gitter chat.
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.
Released under the New BSD License.