Skip to content

Commit 1860c34

Browse files
authored
Merge pull request #34 from candasm/4.0
Update readme file for 4.0 version.
2 parents 818c97f + d1b9d01 commit 1860c34

File tree

2 files changed

+21
-31
lines changed

2 files changed

+21
-31
lines changed

README.md

Lines changed: 19 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,32 @@
1-
Laravel Elasticsearch Service Provider (v4.0.x)
1+
Laravel Elasticsearch Service Provider (4.0.0)
22
================================================
33
[![Latest Stable Version](https://poser.pugx.org/shift31/laravel-elasticsearch/v/stable)](https://packagist.org/packages/shift31/laravel-elasticsearch)
44
[![Total Downloads](https://poser.pugx.org/shift31/laravel-elasticsearch/downloads)](https://packagist.org/packages/shift31/laravel-elasticsearch)
5-
[![Build Status](https://travis-ci.org/shift31/laravel-elasticsearch.svg?branch=master)](https://travis-ci.org/shift31/laravel-elasticsearch)
6-
[![Coverage Status](https://coveralls.io/repos/github/shift31/laravel-elasticsearch/badge.svg?branch=master)](https://coveralls.io/github/shift31/laravel-elasticsearch?branch=master)
5+
[![Build Status](https://travis-ci.org/shift31/laravel-elasticsearch.svg?branch=4.0)](https://travis-ci.org/shift31/laravel-elasticsearch)
6+
[![Coverage Status](https://coveralls.io/repos/github/shift31/laravel-elasticsearch/badge.svg?branch=4.0)](https://coveralls.io/github/shift31/laravel-elasticsearch?branch=master)
77
[![License](https://poser.pugx.org/shift31/laravel-elasticsearch/license)](https://packagist.org/packages/shift31/laravel-elasticsearch)
88

9-
This is a Laravel (4+) Service Provider for the official Elasticsearch low-level client:
10-
http://www.elasticsearch.org/guide/en/elasticsearch/client/php-api/current/index.html
11-
9+
This is a Laravel (4.2) Service Provider for the [official Elasticsearch low-level client](http://www.elasticsearch.org/guide/en/elasticsearch/client/php-api/current/index.html):
1210

1311
Version Matrix
1412
------------------
15-
Since there are breaking changes in Elasticsearch 1.0, your version of Elasticsearch must match the version of this
16-
library, which matches the version of the Elasticsearch low-level client. If you are using a version older than 1.0, you
17-
must install the `0.4` laravel-elasticsearch branch. Otherwise, use the `1.0` branch.
18-
19-
The master branch will always track the latest version.
13+
Since there are breaking changes in Elasticsearch versions, your version of Elasticsearch must match the version of this
14+
library, which matches the version of the Elasticsearch low-level client.
2015

21-
Old
22-
---
23-
| Elasticsearch Version | laravel-elasticsearch branch |
24-
| --------------------- | ---------------------------- |
25-
| >= 1.0 | 1.0, 2.0 |
26-
| <= 0.90.* | 0.4 |
16+
|Shift31/laravel-elasticsearch| Elasticsearch | Laravel |
17+
| :---: | :---: | :---: |
18+
| 0.4| <= 0.90.* | 4.2 |
19+
| 1.0, 2.0| \>= 1.0 | 4.x, 5.x |
20+
|4.0| <= 0.90.* | 4.2|
21+
|4.1| \>= 1.0 <= 2.0 | 4.2|
22+
|4.2| \>= 2.0 <= 5.0| 4.2|
23+
|4.5| \>= 5.0| 4.2|
24+
|5.0| <= 0.90.* | 5.x|
25+
|5.1| \>= 1.0 <= 2.0 | 5.x|
26+
|5.2| \>= 2.0 <= 5.0| 5.x|
27+
|5.5| \>= 5.0| 5.x|
2728

28-
Attention: Until we launch new versions please keep using old versions and don't use dev-master branch!
29-
30-
New (Under development!)
31-
------------------
32-
| Elasticsearch Version | Laravel | laravel-elasticsearch branch |
33-
| --------------------- |---------| ---------------------------- |
34-
| <= 0.90.* | 4.2 | 4.0 |
35-
| 1.0 | 4.2 | 4.1 |
36-
| 2.0 | 4.2 | 4.2 |
37-
| 5.0 | 4.2 | 4.5 |
38-
| <= 0.90.* | 5.2 | 5.0 |
39-
| 1.0 | 5.2 | 5.1 |
40-
| 2.0 | 5.2 | 5.2 |
41-
| 5.0 | 5.x | 5.5 |
29+
Attention: Until we launch new versions please keep using old stable versions (which are created as a branch) and don't use dev-master branch!
4230

4331
Usage
4432
-----

src/Shift31/LaravelElasticsearch/ElasticsearchServiceProvider.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
class ElasticsearchServiceProvider extends ServiceProvider
99
{
10+
const VERSION = '4.0.0';
11+
1012
/**
1113
* @inheritdoc
1214
*/

0 commit comments

Comments
 (0)