broadway/read-model-elasticsearch

Elasticsearch read model implementation using elastic/elasticsearch-php

0.7.1 2021-01-20 14:12 UTC

This package is auto-updated.

Last update: 2024-03-11 03:30:29 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.