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
Copy file name to clipboardExpand all lines: README.md
+14-7Lines changed: 14 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,6 +46,7 @@ Table of Contents
46
46
+[Delete an index](#delete-an-index)
47
47
+[Create an index](#create-an-index)
48
48
-[Unit Testing using Mock a Elastic Client](#unit-testing-using-mock-a-elastic-client)
49
+
-[Contributing](#contributing)
49
50
-[Wrap up](#wrap-up)
50
51
*[Available Licenses](#available-licenses)
51
52
+[Contributions](#contributions)
@@ -62,27 +63,23 @@ Features
62
63
- Option to use asynchronous future, which enables parallel execution of curl requests to multiple nodes
63
64
64
65
65
-
**Note:**If you want to use [X-Pack](https://www.elastic.co/what-is/open-x-pack)API, you need to install an optional extension [elasticsearch/xpack](https://github.com/elastic/elasticsearch-x-pack-php).
66
+
**Note:**[X-Pack](https://www.elastic.co/what-is/open-x-pack)endpoints are included from elasticsearch-php 7.7+.
66
67
67
68
68
69
Version Matrix
69
70
--------------
70
71
71
72
| Elasticsearch Version | Elasticsearch-PHP Branch |
- If you are using Elasticsearch 7.4+ use Elasticsearch-PHP 7.4 branch.
84
-
- If you are using Elasticsearch 7.2 to 7.3, use Elasticsearch-PHP 7.2 branch.
85
-
- If you are using Elasticsearch 7.0 to 7.1, use Elasticsearch-PHP 7.0 branch.
82
+
- If you are using Elasticsearch 7.x you can use use Elasticsearch-PHP 7.x branch
86
83
- If you are using Elasticsearch 6.6 to 6.7, use Elasticsearch-PHP 6.7.x branch.
87
84
- If you are using Elasticsearch 6.0 to 6.5, use Elasticsearch-PHP 6.5.x branch.
88
85
- If you are using Elasticsearch 5.x, use Elasticsearch-PHP 5.0 branch.
@@ -434,6 +431,16 @@ $client = $builder->build();
434
431
// Do a request and you'll get back the 'body' response above
435
432
```
436
433
434
+
Contributing
435
+
============
436
+
437
+
If you want to contribute to this project you need to subscribe a [Contributor Agreement](https://www.elastic.co/contributor-agreement).
438
+
If you want to send a PR for version `Y` please use the `Y.x` branch. For instance if you want to send a PR for **elasticsearch-php 7** use the `7.x` branch.
439
+
440
+
Never send PR to `master` unless you want to contribute to the development version of the client (`master` represents the next major version).
441
+
442
+
Each PR should include a **unit test** using [PHPUnit](https://phpunit.de/). If you are not familiar with PHPUnit you can have a look at this [reference](https://phpunit.readthedocs.io/en/7.0/).
0 commit comments