Skip to content

Commit 9247e91

Browse files
committed
Laravel 10 compatability
1 parent 01ba858 commit 9247e91

File tree

2 files changed

+58
-51
lines changed

2 files changed

+58
-51
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,18 @@ Installation
2424

2525
## Elasticsearch 8.x
2626

27-
Laravel 9.x:
27+
Laravel 10.x:
2828

2929
```bash
3030
$ composer require pdphilip/elasticsearch
3131
```
3232

33+
Laravel 9.x:
34+
35+
```bash
36+
$ composer require pdphilip/elasticsearch:~2.9
37+
```
38+
3339
Laravel 8.x:
3440

3541
```bash

composer.json

Lines changed: 51 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,54 @@
11
{
2-
"name": "pdphilip/elasticsearch",
3-
"description": "An Elasticsearch implementation of Laravel's Eloquent ORM",
4-
"keywords": [
5-
"laravel",
6-
"eloquent",
7-
"elasticsearch",
8-
"elastic",
9-
"database",
10-
"model"
11-
],
12-
"homepage": "https://github.com/pdphilip/laravel-elasticsearch",
13-
"authors": [
14-
{
15-
"name": "David Philip",
16-
"email": "pd.philip@gmail.com",
17-
"homepage": "https://github.com/pdphilip"
18-
}
19-
],
20-
"license": "MIT",
21-
"require": {
22-
"illuminate/support": "^9.0",
23-
"illuminate/container": "^9.0",
24-
"illuminate/database": "^9.0",
25-
"illuminate/events": "^9.0",
26-
"elasticsearch/elasticsearch": "8.7"
27-
},
28-
"require-dev": {
29-
"phpunit/phpunit": "^9.5.8",
30-
"orchestra/testbench": "^7.19",
31-
"mockery/mockery": "^1.3.1",
32-
"doctrine/dbal": "^2.13.3|^3.1.4"
33-
},
34-
"autoload-dev": {
35-
"classmap": [
36-
"tests/TestCase.php",
37-
"tests/models",
38-
"tests/seeds"
39-
]
40-
},
41-
"autoload": {
42-
"psr-4": {
43-
"PDPhilip\\Elasticsearch\\": "src/"
44-
}
45-
},
46-
"extra": {
47-
"laravel": {
48-
"providers": [
49-
"PDPhilip\\Elasticsearch\\ElasticServiceProvider"
50-
]
51-
}
2+
"name": "pdphilip/elasticsearch",
3+
"description": "An Elasticsearch implementation of Laravel's Eloquent ORM",
4+
"keywords": [
5+
"laravel",
6+
"eloquent",
7+
"elasticsearch",
8+
"elastic",
9+
"database",
10+
"model"
11+
],
12+
"homepage": "https://github.com/pdphilip/laravel-elasticsearch",
13+
"authors": [
14+
{
15+
"name": "David Philip",
16+
"email": "pd.philip@gmail.com",
17+
"homepage": "https://github.com/pdphilip"
5218
}
19+
],
20+
"license": "MIT",
21+
"require": {
22+
"php": "^8.1",
23+
"illuminate/support": "^10.0",
24+
"illuminate/container": "^10.0",
25+
"illuminate/database": "^10.0",
26+
"illuminate/events": "^10.0",
27+
"elasticsearch/elasticsearch": "8.7"
28+
},
29+
"require-dev": {
30+
"phpunit/phpunit": "^10.3",
31+
"orchestra/testbench": "^8.0",
32+
"mockery/mockery": "^1.4.4",
33+
"doctrine/coding-standard": "12.0.x-dev"
34+
},
35+
"autoload-dev": {
36+
"classmap": [
37+
"tests/TestCase.php",
38+
"tests/models",
39+
"tests/seeds"
40+
]
41+
},
42+
"autoload": {
43+
"psr-4": {
44+
"PDPhilip\\Elasticsearch\\": "src/"
45+
}
46+
},
47+
"extra": {
48+
"laravel": {
49+
"providers": [
50+
"PDPhilip\\Elasticsearch\\ElasticServiceProvider"
51+
]
52+
}
53+
}
5354
}

0 commit comments

Comments
 (0)