m6web/elasticsearch-mock

Library providing a PHP mock for Elasticsearch-php


Keywords
mock, elasticsearch
License
MIT

Documentation

Elasticsearch Mock Build Status

This PHP 5.4+ library provides a Elasticsearch-php mock for your tests.

Installation

Add this line in your composer.json :

{
    "require-dev": {
        "m6web/elasticsearch-mock": "dev-master"
    }
}

Update your vendors :

$ composer update m6web/elasticsearch-mock

Running the tests

$ php composer.phar install
$ ./vendor/bin/atoum -d tests

Credits

Developped by M6 Web.
Tested with atoum.

License

ElasticsearchMock is licensed under the MIT license.