From 2d45d605ec3748df3f80598cd44648d172342206 Mon Sep 17 00:00:00 2001 From: Tim Groeneveld Date: Tue, 12 Jan 2016 08:20:00 +1000 Subject: [PATCH] Allow using Elasticsearch-php 2.0 --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 67d397c..ad612a3 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "elasticquent/elasticquent", "type": "library", - "description": "Map Laravel Eloquent models to Elasticsearch types.", + "description": "Maps Laravel Eloquent models to Elasticsearch types.", "keywords": [ "elasticsearch", "eloquent", @@ -21,7 +21,7 @@ "illuminate/support": "~4.2|~5.0", "illuminate/database": "~4.2|~5.0", "nesbot/carbon": "~1.0", - "elasticsearch/elasticsearch": "~1.0" + "elasticsearch/elasticsearch": ">1.0 <2.1" }, "require-dev": { "phpunit/phpunit": "~4.0"