Elasticsearch read model implementation for broadway/broadway using elastic/elasticsearch-php
$ composer require broadway/read-model-elasticsearch
Elasticsearch Version | broadway/read-model-elasticsearch version |
---|---|
7 | 0.7 |
6 | 0.6 |
5 | 0.5 |
2 | 0.1 |
1 | 0.1 |
For testing you obviously need a running Elasticsearch instance, therefore
these tests are marked with @group functional
.
To start a local Elasticsearch you can use the provided docker-compose.yml:
docker-compose up -d
To run all the tests:
./vendor/bin/phpunit --exclude-group=none
MIT, see LICENSE.