broadway/read-model-elasticsearch

Elasticsearch read model implementation using elastic/elasticsearch-php

0.7.0 2020-05-11 21:45 UTC

This package is auto-updated.

Last update: 2020-07-11 22:06:48 UTC


README

Elasticsearch read model implementation for broadway/broadway using elastic/elasticsearch-php

Build Status

Installation

$ composer require broadway/read-model-elasticsearch

Version Matrix

Elasticsearch Version broadway/read-model-elasticsearch version
7 0.7
6 0.6
5 0.5
2 0.1
1 0.1

Testing

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

License

MIT, see LICENSE.