Skip to content

Commit e02705e

Browse files
committed
readme update
1 parent 4641793 commit e02705e

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

README.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
This package extends Laravel's Eloquent model and query builder with seamless integration of Elasticsearch functionalities. Designed to feel native to Laravel, this package enables you to work with Eloquent models while leveraging the
1111
powerful search and analytics capabilities of Elasticsearch.
1212

13+
#### Using [OpenSearch](https://opensearch.pdphilip.com/)? [Github](https://github.com/pdphilip/laravel-opensearch)
14+
1315
```php
1416
$logs = UserLog::where('type', UserLogType::LOGIN)->where('created_at','>=',Carbon::now()->subDays(30))->get();
1517
```
@@ -22,20 +24,17 @@ $logs = UserLog::where('type', UserLogType::LOGIN)->where('created_at','>=',Carb
2224

2325
### Maintained versions (Elasticsearch 8.x):
2426

25-
Please note: Only **version 3** of the package will be maintained.
26-
27-
**Laravel 11.x (main):**
27+
**Laravel 10.x & 11.x (main):**
2828

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

33-
| Laravel Version | Command | Maintained |
34-
|-----------------|--------------------------------------------------|------------|
35-
| Laravel 11.x | `composer require pdphilip/elasticsearch ` ||
36-
| Laravel 10.x | `composer require pdphilip/elasticsearch:~3.10 ` ||
37-
| Laravel 9.x | `composer require pdphilip/elasticsearch:~3.9` ||
38-
| Laravel 8.x | `composer require pdphilip/elasticsearch:~3.8` ||
33+
| Laravel Version | Command | Maintained |
34+
|-----------------|------------------------------------------------|------------|
35+
| Laravel 10 & 11 | `composer require pdphilip/elasticsearch:~4 ` ||
36+
| Laravel 9 | `composer require pdphilip/elasticsearch:~3.9` ||
37+
| Laravel 8 | `composer require pdphilip/elasticsearch:~3.8` ||
3938

4039
### Unmaintained versions (Elasticsearch 8.x):
4140

0 commit comments

Comments
 (0)