Skip to content

Commit

Permalink
Updated PHP version matrix in README
Browse files Browse the repository at this point in the history
  • Loading branch information
ezimuel committed Jan 27, 2022
1 parent d7539aa commit a6b3cd3
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,20 +70,20 @@ Features
Version Matrix
--------------

| Elasticsearch Version | Elasticsearch-PHP Branch |
| --------------------- | ------------------------ |
| >= 7.x | 7.x |
| >= 6.6, < 7.0 | 6.7.x |
| >= 6.0, < 6.6 | 6.5.x |
| >= 5.0, < 6.0 | 5.0 |
| >= 2.0, < 5.0 | 1.0 or 2.0 |
| >= 1.0, < 2.0 | 1.0 or 2.0 |
| <= 0.90.x | 0.4 |

- If you are using Elasticsearch 7.x you can use Elasticsearch-PHP 7.x branch
- If you are using Elasticsearch 6.6 to 6.7, use Elasticsearch-PHP 6.7.x branch.
- If you are using Elasticsearch 6.0 to 6.5, use Elasticsearch-PHP 6.5.x branch.
- If you are using Elasticsearch 5.x, use Elasticsearch-PHP 5.0 branch.
| Elasticsearch-PHP Branch | PHP Version |
| ----------- | ------------------------ |
| >= 7.16.0, < 8.0.0 | >= 7.3.0, <= 8.1.99 |
| >= 7.12.0, < 8.0.0 | >= 7.3.0, <= 8.0.99 |
| >= 7.11.0, < 8.0.0 | >= 7.1.0, <= 8.0.99 |
| >= 7.0.0, < 7.11.0 | >= 7.1.0, < 8.0.0 |
| 6.x | >= 7.0.0, < 8.0.0 |
| 5.x | >= 5.6.6, < 8.0.0 |
| 2.x | >= 5.4.0, < 7.0.0 |
| 0.4, 1.x | >= 5.3.9, < 7.0.0 |

- If you are using Elasticsearch 7.x, you can use Elasticsearch-PHP 7.x branch.
- If you are using Elasticsearch 6.x, you can use Elasticsearch-PHP 6.x branch.
- If you are using Elasticsearch 5.x, you can use Elasticsearch-PHP 6.x branch.
- 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.
- 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.
- 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.
Expand Down

0 comments on commit a6b3cd3

Please sign in to comment.