Skip to content

Commit 7d9a51e

Browse files
committed
Add ES 9 and Laravel 12 support
1 parent f379152 commit 7d9a51e

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
include:
1212
- php: 8.2
1313
scout: 10.0
14-
testbench: 9.0
14+
testbench: 10.0
1515
phpunit: 11.0
16-
elastic-search: 8.6.2
16+
elastic-search: 9.2.1
1717
steps:
1818
- name: Checkout code
1919
uses: actions/checkout@v2

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ MYSQL_USER := test
1212
MYSQL_PASSWORD := test
1313

1414
## elasticsearch config
15-
ES_VERSION ?= 8.6.0
15+
ES_VERSION ?= 9.2.1
1616
ES_CONTAINER_IMAGE := elasticsearch:${ES_VERSION}
1717
ES_CONTAINER_NAME := elastic-scout-driver-elasticsearch
1818
ES_HOST_PORT := 19200

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ Elasticsearch driver for Laravel Scout.
3535
The current version of Elastic Scout Driver has been tested with the following configuration:
3636

3737
* PHP 8.2
38-
* Elasticsearch 8.x
39-
* Laravel 11.x
38+
* Elasticsearch 9.x
39+
* Laravel 12.x
4040
* Laravel Scout 10.x
4141

42-
If your project uses older Laravel (or PHP) version check [the previous major version](https://github.com/babenkoivan/elastic-scout-driver/tree/v3.1.0#compatibility) of the package.
42+
If your project uses older Elasticsearch, Laravel, or PHP version check [the previous major version](https://github.com/babenkoivan/elastic-scout-driver/tree/v4.0.0#compatibility) of the package.
4343

4444
## Installation
4545

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@
3939
},
4040
"require": {
4141
"php": "^8.2",
42-
"babenkoivan/elastic-adapter": "^4.0"
42+
"babenkoivan/elastic-adapter": "^5.0"
4343
},
4444
"require-dev": {
4545
"phpunit/phpunit": "^11.0",
46-
"orchestra/testbench": "^9.0",
47-
"babenkoivan/elastic-migrations": "^4.0",
46+
"orchestra/testbench": "^10.0",
47+
"babenkoivan/elastic-migrations": "^5.0",
4848
"laravel/scout": "^10.0",
4949
"friendsofphp/php-cs-fixer": "^3.14",
5050
"phpstan/phpstan": "^1.10",

0 commit comments

Comments
 (0)