PHPackages                             wannanbigpig/laravel-scout-elastic - 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. wannanbigpig/laravel-scout-elastic

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

wannanbigpig/laravel-scout-elastic
==================================

Elastic Driver for Laravel Scout

v1.1.1(2y ago)115MITPHPPHP ^8.0|^8.1|^8.2

Since May 26Pushed 2y ago1 watchersCompare

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

READMEChangelog (2)Dependencies (4)Versions (5)Used By (0)

laravel-scout-elastic
=====================

[](#laravel-scout-elastic)

[![Latest Stable Version](https://camo.githubusercontent.com/c8d40e74c4308e34da13aa395eb7a9e5b9e28ab457be611af1ec37143698cbcc/687474703a2f2f706f7365722e707567782e6f72672f77616e6e616e6269677069672f6c61726176656c2d73636f75742d656c61737469632f76)](https://packagist.org/packages/wannanbigpig/laravel-scout-elastic) [![Total Downloads](https://camo.githubusercontent.com/896fa8e4352e6d4607613fd89bbba7ef73a9fda92f7c40da40876dfb1a091a91/687474703a2f2f706f7365722e707567782e6f72672f77616e6e616e6269677069672f6c61726176656c2d73636f75742d656c61737469632f646f776e6c6f616473)](https://packagist.org/packages/wannanbigpig/laravel-scout-elastic) [![Latest Unstable Version](https://camo.githubusercontent.com/5b71361c8184f7f109038d5fdbbc0f0f3dce3e9f4af64913d2a647983a51b6ad/687474703a2f2f706f7365722e707567782e6f72672f77616e6e616e6269677069672f6c61726176656c2d73636f75742d656c61737469632f762f756e737461626c65)](https://packagist.org/packages/wannanbigpig/laravel-scout-elastic) [![License](https://camo.githubusercontent.com/a725f2a9aa672c65084a097d1e6cf9c545d552bd1aeec1d4be4ae9d376a3981d/687474703a2f2f706f7365722e707567782e6f72672f77616e6e616e6269677069672f6c61726176656c2d73636f75742d656c61737469632f6c6963656e7365)](https://packagist.org/packages/wannanbigpig/laravel-scout-elastic)

Elastic Driver for Laravel Scout

---

### Installation

[](#installation)

You can install the package via composer:

```
composer require wannanbigpig/laravel-scout-elastic
```

### Setting up Elasticsearch configuration

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

After installing, you should publish the Scout configuration file using the vendor:publish Artisan command. This command will publish the scout.php configuration file to your application's config directory:

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

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

```
// config/scout.php
