PHPackages                             soeurngsar/laravel-scout-opensearch - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. soeurngsar/laravel-scout-opensearch

ActiveLibrary[API Development](/categories/api)

soeurngsar/laravel-scout-opensearch
===================================

Laravel scout driver for OpenSearch

001PHP

Since Nov 1Pushed 2y agoCompare

[ Source](https://github.com/soeurngsar/laravel-scout-opensearch)[ Packagist](https://packagist.org/packages/soeurngsar/laravel-scout-opensearch)[ RSS](/packages/soeurngsar-laravel-scout-opensearch/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (2)DependenciesVersions (2)Used By (0)

The package provides the perfect starting point to integrate OpenSearch into your Laravel application. It is carefully crafted to simplify the usage of OpenSearch within the [Laravel Framework](https://laravel.com).

It’s built on top of the latest release of [Laravel Scout](https://laravel.com/docs/scout), the official Laravel search package. Using this package, you are free to take advantage of all of Laravel Scout’s great features, and at the same time leverage the complete set of OpenSearch’s search experience.

Features
--------

[](#features)

Don't forget to ⭐ the package if you like it. 🙏

- Laravel Scout 10.x support
- [Search amongst multiple models](#search-amongst-multiple-models)
- [**Zero downtime** reimport](#zero-downtime-reimport) - it’s a breeze to import data in production.
- [Eager load relations](#eager-load) - speed up your import.
- Import all searchable models at once.
- A fully configurable mapping for each model.
- Full power of OpenSearch in your queries.

Requirements
------------

[](#requirements)

- PHP version &gt;= 8.1
- Laravel Framework version &gt;= 10.0.0

Installation
------------

[](#installation)

Use composer to install the package:

`composer require soeurngsar/laravel-scout-opensearch`

Set env variables

```
SCOUT_DRIVER=SoeurngSar\LaravelScoutOpenSearch\Engines\OpenSearchEngine

```

The package uses `\OpenSearch\Client` from official package, but does not try to configure it, so feel free do it in your app service provider. But if you don't want to do it right now, you can use `SoeurngSar\OpenSearchServiceProvider` from the package. Register the provider, adding to `config/app.php`

```
'providers' => [
    // Other Service Providers

    \SoeurngSar\LaravelScoutOpenSearch\Providers\OpenSearchServiceProvider::class
],
```

Set `OPENSEARCH_HOST` env variable

```
OPENSEARCH_HOST=host:port

```

or use commas as separator for additional nodes

```
OPENSEARCH_HOST=host:port,host:port

```

```
OPENSEARCH_HOST_PROVIDER=local or aws

```

And publish config example for elasticsearch `php artisan vendor:publish --tag config`

Usage
-----

[](#usage)

so all the features of thes two packages is available to use. For usage of this application I recommend you to check out the documentation of [matchish/laravel-scout-elasticsearch](https://github.com/matchish/laravel-scout-elasticsearch) as it is a fully compartibile with clean documentation.

License
-------

[](#license)

Laravel Scout OpenSearch is an open-sourced software licensed under the [MIT license](LICENSE.md).

Credits
-------

[](#credits)

This package is a combination of [matchish/laravel-scout-elasticsearch](https://github.com/matchish/laravel-scout-elasticsearch)and [cloudmediasolutions/Laravel-Scout-OpenSearch](https://github.com/cloudmediasolutions/Laravel-Scout-OpenSearch). I really apreciate for his hard working to bring this package to the community.

###  Health Score

14

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity23

Early-stage or recently created project

 Bus Factor1

Top contributor holds 50% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/389866c4238b8fe40c94e1928eee4fe0d43df6ce7b93c2775bc691fab4d84885?d=identicon)[soeurngsar](/maintainers/soeurngsar)

---

Top Contributors

[![sar-sa-dev](https://avatars.githubusercontent.com/u/239699683?v=4)](https://github.com/sar-sa-dev "sar-sa-dev (2 commits)")[![soeurngsar](https://avatars.githubusercontent.com/u/10471579?v=4)](https://github.com/soeurngsar "soeurngsar (2 commits)")

### Embed Badge

![Health badge](/badges/soeurngsar-laravel-scout-opensearch/health.svg)

```
[![Health](https://phpackages.com/badges/soeurngsar-laravel-scout-opensearch/health.svg)](https://phpackages.com/packages/soeurngsar-laravel-scout-opensearch)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
