{
    "name": "m6web/elasticsearch-bundle",
    "type": "symfony-bundle",
    "description": "Symfony2 Bundle on top of elasticsearch/elasticsearch-php",
    "license": "MIT",
    "authors": [
        {
            "name": "Matthieu Guillermin",
            "email": "matthieu.guillermin@m6.fr"
        }
    ],
    "require": {
        "php": ">=5.5",
        "elasticsearch/elasticsearch": "^2.3"
    },
    "require-dev": {
        "atoum/atoum":                      "^2.6",
        "m6web/coke":                       "~1.2.0",
        "m6web/symfony2-coding-standard":   "~1.2.0",
        "symfony/dependency-injection":     "^2.3|^3.0",
        "symfony/event-dispatcher":         "^2.3|^3.0",
        "symfony/config":                   "^2.3|^3.0",
        "symfony/yaml":                     "^2.3|^3.0"
    },
    "autoload": {
        "psr-0": { "": "src/" }
    }
}

{
    "name": "m6web/elasticsearch-bundle",
    "type": "symfony-bundle",
    "description": "Symfony2 Bundle on top of elasticsearch/elasticsearch-php",
    "license": "MIT",
    "authors": [
        {
            "name": "Matthieu Guillermin",
            "email": "matthieu.guillermin@m6.fr"
        }
    ],
    "require": {
        "php": ">=5.5",
        "elasticsearch/elasticsearch": "^5.0"
    },
    "require-dev": {
        "atoum/atoum":                      "^2.6",
        "m6web/coke":                       "~1.2.0",
        "m6web/symfony2-coding-standard":   "~1.2.0",
        "symfony/dependency-injection":     "^2.3|^3.0",
        "symfony/event-dispatcher":         "^2.3|^3.0",
        "symfony/config":                   "^2.3|^3.0",
        "symfony/yaml":                     "^2.3|^3.0"
    },
    "autoload": {
        "psr-0": { "": "src/" }
    }
}

Use the new elasticsearch client for version 5.0.
Use the new elasticsearch client for version 5.0.
