You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Official low-level client for Elasticsearch. Its goal is to provide common ground for all Elasticsearch-related code in PHP; because of this it tries to be opinion-free and very extendable.
8
8
9
9
To maintain consistency across all the low-level clients (Ruby, Python, etc.), clients accept simple associative arrays as parameters. All parameters, from the URI to the document body, are defined in the associative array.
10
10
11
+
**NOTE**: starting from `elasticsearch-php` 6.8.0 we supports also [XPack](https://www.elastic.co/guide/en/elasticsearch/reference/6.8/setup-xpack.html) endpoints of Elasticsearch.
11
12
12
13
Features
13
14
--------
@@ -21,21 +22,20 @@ Features
21
22
- Option to use asynchronous future, which enables parallel execution of curl requests to multiple nodes
22
23
23
24
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).
25
-
26
-
27
25
Version Matrix
28
26
--------------
29
27
30
28
| Elasticsearch Version | Elasticsearch-PHP Branch |
- If you are using Elasticsearch 6.8+, use Elasticsearch-PHP 6.8.x branch.
39
39
- If you are using Elasticsearch 6.6 to 6.7, use Elasticsearch-PHP 6.7.x branch.
40
40
- If you are using Elasticsearch 6.0 to 6.5, use Elasticsearch-PHP 6.5.x branch.
41
41
- If you are using Elasticsearch 5.x, use Elasticsearch-PHP 5.0 branch.
@@ -51,12 +51,12 @@ Installation via Composer
51
51
-------------------------
52
52
The recommended method to install _Elasticsearch-PHP_ is through [Composer](http://getcomposer.org).
53
53
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 for ES 6.7):
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 for ES 6.8):
55
55
56
56
```json
57
57
{
58
58
"require": {
59
-
"elasticsearch/elasticsearch": "^6.7"
59
+
"elasticsearch/elasticsearch": "^6.8"
60
60
}
61
61
}
62
62
```
@@ -93,12 +93,16 @@ PHP Version Requirement
93
93
Version 6.0 of this library requires at least PHP version 7.0.0 to function. In addition, it requires the native JSON
94
94
extension to be version 1.3.7 or higher.
95
95
96
+
**NOTE**: starting from `elasticsearch-php` **6.8.0** we supports only PHP 7.3+ (including PHP 8.0).
0 commit comments