MongoDB implementation of ProophEventStore
BSD-3-CLAUSE License
MongoDB EventStore implementation for Prooph EventStore
Please execute \Prooph\EventStore\MongoDb\MongoDbHelper::createEventStreamsCollection
on your server.
This will setup the required event streams table.
If you want to use the projections, run additionally \Prooph\EventStore\MongoDb\MongoDbHelper::createProjectionCollection
on your server.
If you want to run the unit tests locally you need a running MongoDB Replica cluster. You need to set these environment
variables DB_URI
, DB_REPLICA_SET
and DB_NAME
.
$ vendor/bin/phpunit -c phpunit.xml.dist
./start.sh
docker-compose -f docker-compose-tests.yml run --rm php php vendor/bin/phpunit -c phpunit.xml.dist
./down.sh
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.