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

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

arunfung/scout-elasticsearch
============================

Laravel Scout ElasticSearch Driver

v0.0.9(4y ago)832MITPHPPHP ^7.4CI failing

Since Jul 7Pushed 4y agoCompare

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

READMEChangelogDependencies (4)Versions (10)Used By (0)

[![Build Status](https://camo.githubusercontent.com/efc1cb1a42620e950cbb93088ac079b8a111b4486756f6f2fc0675c14ab5524d/68747470733a2f2f7472617669732d63692e636f6d2f6172756e66756e672f73636f75742d656c61737469637365617263682e737667)](https://travis-ci.com/arunfung/scout-elasticsearch)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/b67155480f5af56e4306df3ebef25f5e4cf8eb787cd1763e788c00e19d42b709/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6172756e66756e672f73636f75742d656c61737469637365617263682f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/arunfung/scout-elasticsearch/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/596c3f1146acc2ce066164eee378451b2d12dfd267455880c9d4927335e4ef69/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6172756e66756e672f73636f75742d656c61737469637365617263682f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/arunfung/scout-elasticsearch/?branch=master)[![Total Downloads](https://camo.githubusercontent.com/69cbe380bbfb6b56f95eae3d53272a1f9f14007379b5faa2dbc456ecc3341442/68747470733a2f2f706f7365722e707567782e6f72672f6172756e66756e672f73636f75742d656c61737469637365617263682f646f776e6c6f616473)](https://packagist.org/packages/arunfung/scout-elasticsearch)[![Latest Stable Version](https://camo.githubusercontent.com/84ff514b0f7d69fe4c87581e87286ac934e249b7e8512f63c5ebb2e97cadd84d/68747470733a2f2f706f7365722e707567782e6f72672f6172756e66756e672f73636f75742d656c61737469637365617263682f762f737461626c65)](https://packagist.org/packages/arunfung/scout-elasticsearch)[![License](https://camo.githubusercontent.com/4bd31c0fa5bcdb3dfa2f8d5ba79c070d0633258595b65b9ea8bace1431295275/68747470733a2f2f706f7365722e707567782e6f72672f6172756e66756e672f73636f75742d656c61737469637365617263682f6c6963656e7365)](https://packagist.org/packages/arunfung/scout-elasticsearch)

scout-elastic-search
====================

[](#scout-elastic-search)

[English](https://github.com/arunfung/scout-elasticsearch) | [中文](https://github.com/arunfung/scout-elasticsearch/blob/master/README_zh-cn.md)

Introduction
------------

[](#introduction)

Currently, laravel Scout only supports Algolia driver, This package is ElasticSearch driver for laravel Scout.

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

[](#installation)

Install the package via composer:

```
composer require arunfung/scout-elasticsearch
```

If you are using Laravel version &lt; 5.5 or the package discovery is disabled, Must add the Scout service provider and the package service provider in your `app.php`

```
/*
 * Package Service Providers...
 */
Laravel\Scout\ScoutServiceProvider::class,
ArunFung\ScoutElasticSearch\ElasticSearchServiceProvider::class,
```

Configuration
-------------

[](#configuration)

- Publish settings

```
php artisan vendor:publish --provider="Laravel\Scout\ScoutServiceProvider"
php artisan vendor:publish --provider="ArunFung\ScoutElasticSearch\ElasticSearchServiceProvider"
```

- Set scout driver in `.env`

```
// Set scout driver to elasticsearch
SCOUT_DRIVER=elasticsearch
```

- Create a new ElasticSearch index

If you need to set the mapping, you can set it in `config/elasticsearch.php`

```
// add index name into .env
ELASTIC_SEARCH_INDEX=index name

// Create a generic index mapping
php artisan es:create-index
```

Usage
-----

[](#usage)

Documentation for Scout can be found on the [Laravel website](https://laravel.com/docs/master/scout).

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity55

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 ~97 days

Recently: every ~187 days

Total

9

Last Release

1773d ago

PHP version history (2 changes)v0.0.1PHP ^7.1

v0.0.9PHP ^7.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13562592?v=4)[Arun Fung](/maintainers/ArunFung)[@arunfung](https://github.com/arunfung)

---

Top Contributors

[![arunfung](https://avatars.githubusercontent.com/u/13562592?v=4)](https://github.com/arunfung "arunfung (26 commits)")

---

Tags

searchlaravelelasticsearchelasticscout

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[jeroen-g/explorer

Next-gen Elasticsearch driver for Laravel Scout.

399654.3k](/packages/jeroen-g-explorer)[matchish/laravel-scout-elasticsearch

Search among multiple models with ElasticSearch and Laravel Scout

7451.7M3](/packages/matchish-laravel-scout-elasticsearch)

PHPackages © 2026

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