PHPackages                             ijuniorfu/laravel-scout-elasticsearch - 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. ijuniorfu/laravel-scout-elasticsearch

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

ijuniorfu/laravel-scout-elasticsearch
=====================================

Elastic Driver for Laravel Scout

v7.6(6y ago)011MITPHPPHP ^7.1

Since Apr 7Pushed 6y ago1 watchersCompare

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

READMEChangelogDependencies (5)Versions (14)Used By (0)

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

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

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)This package makes is the [Elasticsearch](https://www.elastic.co/products/elasticsearch) driver for Laravel Scout.

Contents
--------

[](#contents)

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

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

[](#installation)

You can install the package via composer:

```
composer require ijuniorfu/laravel-scout-elasticsearch
```

You must add the Scout service provider and the package service provider in your app.php config:

```
// config/app.php
'providers' => [
    ...
    Laravel\Scout\ScoutServiceProvider::class,
    ...
    ScoutEngines\Elasticsearch\ElasticsearchProvider::class,
],
```

### Setting up Elasticsearch configuration

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

You must have a Elasticsearch server up and running with the index you want to use created

If you need help with this please refer to the [Elasticsearch documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html)

After you've published the Laravel Scout package configuration:

```
// config/scout.php
// Set your driver to elasticsearch
    'driver' => env('SCOUT_DRIVER', 'elasticsearch'),

...
    'elasticsearch' => [
        'type' => env('ELASTICSEARCH_TYPE', '_doc'),
        'hosts' => [
            env('ELASTICSEARCH_HOST', 'http://localhost'),
        ],
    ],
...
```

Usage
-----

[](#usage)

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

License
-------

[](#license)

The MIT License (MIT).

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

###  Release Activity

Cadence

Every ~0 days

Total

13

Last Release

2226d ago

PHP version history (2 changes)7.2.x-devPHP ^7.1

6.5.x-devPHP &gt;=5.6.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3910125?v=4)[junior](/maintainers/ijuniorfu)[@ijuniorfu](https://github.com/ijuniorfu)

---

Top Contributors

[![ijuniorfu](https://avatars.githubusercontent.com/u/3910125?v=4)](https://github.com/ijuniorfu "ijuniorfu (12 commits)")

---

Tags

laravelelasticsearchelasticscout

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ijuniorfu-laravel-scout-elasticsearch/health.svg)

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

###  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)
