Skip to content

Commit 70cc092

Browse files
committed
Updated README with the new version requirement
1 parent 8d529c4 commit 70cc092

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

README.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,24 +19,26 @@ Features
1919
- Pluggable connection pools to offer different connection strategies
2020
- Generalized, pluggable architecture - most components can be replaced with your own custom class if specialized behavior is required
2121
- Option to use asynchronous future, which enables parallel execution of curl requests to multiple nodes
22-
23-
24-
**Note:** If you want to use X-Pack API, you need to install an optional extension [elasticsearch/xpack](https://github.com/elastic/elasticsearch-x-pack-php).
22+
23+
24+
**Note:** If you want to use X-Pack API, you need to install an optional extension [elasticsearch/xpack](https://github.com/elastic/elasticsearch-x-pack-php).
2525

2626

2727
Version Matrix
2828
--------------
2929

3030
| Elasticsearch Version | Elasticsearch-PHP Branch |
3131
| --------------------- | ------------------------ |
32-
| >= 6.0 | 6.0 |
32+
| >= 6.6, <= 6.7 | 6.7 |
33+
| >= 6.0, <= 6.5 | 6.5 |
3334
| >= 5.0, < 6.0 | 5.0 |
3435
| >= 2.0, < 5.0 | 1.0 or 2.0 |
3536
| >= 1.0, < 2.0 | 1.0 or 2.0 |
3637
| <= 0.90.x | 0.4 |
3738

38-
- If you are using Elasticsearch 6.0+ , use Elasticsearch-PHP 6.0 branch.
39-
- If you are using Elasticsearch 5.x , use Elasticsearch-PHP 5.0 branch.
39+
- If you are using Elasticsearch 6.6 or 6.7, use Elasticsearch-PHP 6.7 branch.
40+
- If you are using Elasticsearch 6.0 to 6.5, use Elasticsearch-PHP 6.5 branch.
41+
- If you are using Elasticsearch 5.x, use Elasticsearch-PHP 5.0 branch.
4042
- If you are using Elasticsearch 1.x or 2.x, prefer using the Elasticsearch-PHP 2.0 branch. The 1.0 branch is compatible however.
4143
- If you are using a version older than 1.0, you must install the `0.4` Elasticsearch-PHP branch. Since ES 0.90.x and below is now EOL, the corresponding `0.4` branch will not receive any more development or bugfixes. Please upgrade.
4244
- You should never use Elasticsearch-PHP Master branch, as it tracks Elasticsearch master and may contain incomplete features or breaks in backwards compatibility. Only use ES-PHP master if you are developing against ES master for some reason.
@@ -49,12 +51,12 @@ Installation via Composer
4951
-------------------------
5052
The recommended method to install _Elasticsearch-PHP_ is through [Composer](http://getcomposer.org).
5153

52-
1. Add `elasticsearch/elasticsearch` as a dependency in your project's `composer.json` file (change version to suit your version of Elasticsearch):
54+
1. Add `elasticsearch/elasticsearch` as a dependency in your project's `composer.json` file (change version to suit your version of Elasticsearch, for instance this is for ES 6.0 to 6.5):
5355

5456
```json
5557
{
5658
"require": {
57-
"elasticsearch/elasticsearch": "~6.0"
59+
"elasticsearch/elasticsearch": "^6.5"
5860
}
5961
}
6062
```

0 commit comments

Comments
 (0)