PHPackages                             bethinkpl/elastic-scout - 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. [Search &amp; Filtering](/categories/search)
4. /
5. bethinkpl/elastic-scout

ActiveLibrary[Search &amp; Filtering](/categories/search)

bethinkpl/elastic-scout
=======================

Elastic Driver for Laravel Scout

9.0.0(3mo ago)031.8k↓35.2%PHPPHP ^8.1|^8.2|^8.3

Since Sep 20Pushed 3mo agoCompare

[ Source](https://github.com/bethinkpl/elastic-scout)[ Packagist](https://packagist.org/packages/bethinkpl/elastic-scout)[ RSS](/packages/bethinkpl-elastic-scout/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (35)Used By (0)

Fork
====

[](#fork)

This is a fork of  with a few changes:

Laravel Scout Elasticsearch Driver
==================================

[](#laravel-scout-elasticsearch-driver)

[![Latest Stable Version](https://camo.githubusercontent.com/640100fcb9a5b5202387182128ab528c11058c4aeb397f07ea5d60ad125cf65b/68747470733a2f2f706f7365722e707567782e6f72672f62657468696e6b706c2f656c61737469632d73636f75742f76)](//packagist.org/packages/bethinkpl/elastic-scout) [![Total Downloads](https://camo.githubusercontent.com/af125082c7118f1dee2a37a3f48eb0f3c1c8d31ca657ced41795effd8eb82045/68747470733a2f2f706f7365722e707567782e6f72672f62657468696e6b706c2f656c61737469632d73636f75742f646f776e6c6f616473)](//packagist.org/packages/bethinkpl/elastic-scout) [![License](https://camo.githubusercontent.com/870be24f81987bed2821c8d2bab88ad83d40d99626204a026183fc7716ca6875/68747470733a2f2f706f7365722e707567782e6f72672f62657468696e6b706c2f656c61737469632d73636f75742f6c6963656e7365)](//packagist.org/packages/bethinkpl/elastic-scout)

Archived
--------

[](#archived)

I haven't had the time to dedicate work to this repo and I don't plan to do so in the future.

This package provides a [Elasticsearch](https://www.elastic.co/products/elasticsearch) driver for Laravel Scout.

Contents
--------

[](#contents)

- [Installation](#installation)
- [Usage](#usage)
- [Credits](#credits)
- [License](#license)

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

[](#installation)

You can install the package via composer:

```
composer require bethinkpl/elastic-scout
```

Laravel will automatically register the driver service provider.

#### Install elasticsearch-php client

[](#install-elasticsearch-php-client)

For use this library we recomend using the latest version at this time `(^7.9)`

```
composer require elasticsearch/elasticsearch
```

### Setting up Elasticsearch configuration

[](#setting-up-elasticsearch-configuration)

After you've published the Laravel Scout package configuration, you need to set your driver to `elasticsearch` and add its configuration:

```
// config/scout.php
...
    // Set your driver to elasticsearch
    'driver' => env('SCOUT_DRIVER', 'elasticsearch'),
...
    /*
    |--------------------------------------------------------------------------
    | Elasticsearch Configuration
    |--------------------------------------------------------------------------
    |
    | Here you may configure your Elasticsearch settings.
    |
    */
    'elasticsearch' => [
        'hosts' => [
            env('ELASTICSEARCH_HOST', 'localhost'),
            // [
            //     'host'   => env('ELASTICSEARCH_HOST', 'localhost'),
            //     'port'   => env('ELASTICSEARCH_PORT', '9200'),
            //     'scheme' => env('ELASTICSEARCH_SCHEME', 'https'),
            //     'path'   => env('ELASTICSEARCH_PATH', '/elastic'),
            //     'user'   => env('ELASTICSEARCH_USER', 'username'),
            //     'pass'   => env('ELASTICSEARCH_PASS', 'password'),
            // ]
        ],
    ]
...
```

For host configuration you can refer to the official [Elasticsearch documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html)

Usage
-----

[](#usage)

Now you can use Laravel Scout as described in the [Laravel Scout official documentation](https://laravel.com/docs/8.x/scout)

Limitations
-----------

[](#limitations)

**Identifying Users**Currrently user identification is not supported.

Credits
-------

[](#credits)

- [Erick Tamayo](https://github.com/ericktamayo)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT).

###  Health Score

58

—

FairBetter than 98% of packages

Maintenance80

Actively maintained with recent releases

Popularity27

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity90

Battle-tested with a long release history

 Bus Factor3

3 contributors hold 50%+ of commits

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.

###  Release Activity

Cadence

Every ~126 days

Recently: every ~395 days

Total

28

Last Release

104d ago

Major Versions

3.0.8 → 4.0.02019-01-15

4.0.0 → 5.0.02020-02-13

5.0.1 → v7.0.02021-04-07

v7.0.1 → 8.0.32021-04-14

8.1.0 → 9.0.02026-02-03

PHP version history (5 changes)0.0.1.x-devPHP &gt;=5.6.4

v7.0.0PHP ^7.2

8.0.3PHP ^7.2 || ^8.0

8.1.0PHP ^7.2|^8.0|^8.1

9.0.0PHP ^8.1|^8.2|^8.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1929317?v=4)[Maciej Brencz](/maintainers/macbre)[@macbre](https://github.com/macbre)

![](https://www.gravatar.com/avatar/5edab193002ba05b77d59a272e92615c3cf62776c8477b18173218c4fbaea89b?d=identicon)[gitkuba](/maintainers/gitkuba)

![](https://www.gravatar.com/avatar/10cc35e23ef3374fb6ffd9dd0ead18abccc362aaa30bef4e6bcc362921266476?d=identicon)[bethinkpl](/maintainers/bethinkpl)

---

Top Contributors

[![ErickTamayo](https://avatars.githubusercontent.com/u/4788817?v=4)](https://github.com/ErickTamayo "ErickTamayo (27 commits)")[![pioziol123](https://avatars.githubusercontent.com/u/11304259?v=4)](https://github.com/pioziol123 "pioziol123 (9 commits)")[![gitkuba](https://avatars.githubusercontent.com/u/19466258?v=4)](https://github.com/gitkuba "gitkuba (8 commits)")[![rogatty](https://avatars.githubusercontent.com/u/7030884?v=4)](https://github.com/rogatty "rogatty (7 commits)")[![kvas-damian](https://avatars.githubusercontent.com/u/2725894?v=4)](https://github.com/kvas-damian "kvas-damian (6 commits)")[![kronthto](https://avatars.githubusercontent.com/u/17156142?v=4)](https://github.com/kronthto "kronthto (5 commits)")[![themech](https://avatars.githubusercontent.com/u/150686?v=4)](https://github.com/themech "themech (3 commits)")[![bbashy](https://avatars.githubusercontent.com/u/1149200?v=4)](https://github.com/bbashy "bbashy (2 commits)")[![shibby](https://avatars.githubusercontent.com/u/291643?v=4)](https://github.com/shibby "shibby (2 commits)")[![xcaptain](https://avatars.githubusercontent.com/u/4054836?v=4)](https://github.com/xcaptain "xcaptain (2 commits)")[![clsource](https://avatars.githubusercontent.com/u/292738?v=4)](https://github.com/clsource "clsource (1 commits)")[![CasperLaiTW](https://avatars.githubusercontent.com/u/5094008?v=4)](https://github.com/CasperLaiTW "CasperLaiTW (1 commits)")[![lloy0076](https://avatars.githubusercontent.com/u/1174532?v=4)](https://github.com/lloy0076 "lloy0076 (1 commits)")[![BrianGreenhill](https://avatars.githubusercontent.com/u/1642339?v=4)](https://github.com/BrianGreenhill "BrianGreenhill (1 commits)")[![PooyaDustdar](https://avatars.githubusercontent.com/u/16743813?v=4)](https://github.com/PooyaDustdar "PooyaDustdar (1 commits)")[![prajapatinirav](https://avatars.githubusercontent.com/u/7949561?v=4)](https://github.com/prajapatinirav "prajapatinirav (1 commits)")[![pvanhemmen](https://avatars.githubusercontent.com/u/715022?v=4)](https://github.com/pvanhemmen "pvanhemmen (1 commits)")[![bognix](https://avatars.githubusercontent.com/u/3473327?v=4)](https://github.com/bognix "bognix (1 commits)")[![semyonchetvertnyh](https://avatars.githubusercontent.com/u/2598761?v=4)](https://github.com/semyonchetvertnyh "semyonchetvertnyh (1 commits)")[![tweetgeek](https://avatars.githubusercontent.com/u/4587534?v=4)](https://github.com/tweetgeek "tweetgeek (1 commits)")

---

Tags

elasticsearchlaravellaravel-scoutphplaravelelasticsearchelasticscout

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/bethinkpl-elastic-scout/health.svg)

```
[![Health](https://phpackages.com/badges/bethinkpl-elastic-scout/health.svg)](https://phpackages.com/packages/bethinkpl-elastic-scout)
```

###  Alternatives

[jeroen-g/explorer

Next-gen Elasticsearch driver for Laravel Scout.

397612.3k](/packages/jeroen-g-explorer)

PHPackages © 2026

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