Skip to content

Commit c4c3bd3

Browse files
committed
Updated README with 6.8.0 news
1 parent b316710 commit c4c3bd3

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

README.md

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
elasticsearch-php
22
=================
33

4-
[![Build Status](https://travis-ci.org/elastic/elasticsearch-php.svg?branch=master)](https://travis-ci.org/elastic/elasticsearch-php) [![Latest Stable Version](https://poser.pugx.org/elasticsearch/elasticsearch/v/stable)](https://packagist.org/packages/elasticsearch/elasticsearch) [![Total Downloads](https://poser.pugx.org/elasticsearch/elasticsearch/downloads)](https://packagist.org/packages/elasticsearch/elasticsearch)
4+
[![Build status](https://github.com/elastic/elasticsearch-php/workflows/PHP%20test/badge.svg?branch=6.8.x)](https://github.com/elastic/elasticsearch-php/actions) [![Latest Stable Version](https://poser.pugx.org/elasticsearch/elasticsearch/v/stable)](https://packagist.org/packages/elasticsearch/elasticsearch) [![Total Downloads](https://poser.pugx.org/elasticsearch/elasticsearch/downloads)](https://packagist.org/packages/elasticsearch/elasticsearch)
55

66

77
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.
88

99
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.
1010

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.
1112

1213
Features
1314
--------
@@ -21,21 +22,20 @@ Features
2122
- Option to use asynchronous future, which enables parallel execution of curl requests to multiple nodes
2223

2324

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-
2725
Version Matrix
2826
--------------
2927

3028
| Elasticsearch Version | Elasticsearch-PHP Branch |
3129
| --------------------- | ------------------------ |
30+
| >= 6.8, < 7.0 | 6.8.x |
3231
| >= 6.6, < 7.0 | 6.7.x |
3332
| >= 6.0, < 6.6 | 6.5.x |
3433
| >= 5.0, < 6.0 | 5.0 |
3534
| >= 2.0, < 5.0 | 1.0 or 2.0 |
3635
| >= 1.0, < 2.0 | 1.0 or 2.0 |
3736
| <= 0.90.x | 0.4 |
3837

38+
- If you are using Elasticsearch 6.8+, use Elasticsearch-PHP 6.8.x branch.
3939
- If you are using Elasticsearch 6.6 to 6.7, use Elasticsearch-PHP 6.7.x branch.
4040
- If you are using Elasticsearch 6.0 to 6.5, use Elasticsearch-PHP 6.5.x branch.
4141
- If you are using Elasticsearch 5.x, use Elasticsearch-PHP 5.0 branch.
@@ -51,12 +51,12 @@ Installation via Composer
5151
-------------------------
5252
The recommended method to install _Elasticsearch-PHP_ is through [Composer](http://getcomposer.org).
5353

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):
5555

5656
```json
5757
{
5858
"require": {
59-
"elasticsearch/elasticsearch": "^6.7"
59+
"elasticsearch/elasticsearch": "^6.8"
6060
}
6161
}
6262
```
@@ -93,12 +93,16 @@ PHP Version Requirement
9393
Version 6.0 of this library requires at least PHP version 7.0.0 to function. In addition, it requires the native JSON
9494
extension to be version 1.3.7 or higher.
9595

96+
**NOTE**: starting from `elasticsearch-php` **6.8.0** we supports only PHP 7.3+ (including PHP 8.0).
97+
98+
9699
| Elasticsearch-PHP Branch | PHP Version |
97100
| ----------- | ------------------------ |
98-
| 6.0 | >= 7.0.0 |
99-
| 5.0 | >= 5.6.6 |
100-
| 2.0 | >= 5.4.0 |
101-
| 0.4, 1.0 | >= 5.3.9 |
101+
| 6.8 | >= 7.3.0, < 9.0.0 |
102+
| 6.0 | >= 7.0.0, < 8.0.0 |
103+
| 5.0 | >= 5.6.6, < 8.0.0 |
104+
| 2.0 | >= 5.4.0, < 7.0.0 |
105+
| 0.4, 1.0 | >= 5.3.9, < 7.0.0 |
102106

103107

104108
Quickstart

0 commit comments

Comments
 (0)