2017 © Pedro Peláez
 

library laravel-scout-elastic

Elastic Driver for Laravel Scout

image

tamayo/laravel-scout-elastic

Elastic Driver for Laravel Scout

  • Sunday, April 22, 2018
  • by ErickTamayo
  • Repository
  • 30 Watchers
  • 498 Stars
  • 111,860 Installations
  • PHP
  • 4 Dependents
  • 2 Suggesters
  • 138 Forks
  • 24 Open issues
  • 20 Versions
  • 13 % Grown

The README.md

Laravel Scout Elasticsearch Driver

Latest Stable Version Total Downloads License Build Status, (*1)

Archived

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

This package provides a Elasticsearch driver for Laravel Scout., (*3)

Contents

Installation

You can install the package via composer:, (*4)

composer require tamayo/laravel-scout-elastic

Laravel will automatically register the driver service provider., (*5)

Install elasticsearch-php client

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

composer require elasticsearch/elasticsearch

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:, (*7)

// 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, (*8)

Usage

Now you can use Laravel Scout as described in the Laravel Scout official documentation, (*9)

Limitations

Identifying Users Currrently user identification is not supported., (*10)

Credits

License

The MIT License (MIT)., (*11)

The Versions

22/04 2018

dev-master

9999999-dev

Elastic Driver for Laravel Scout

  Sources   Download

The Requires

 

The Development Requires

laravel elasticsearch elastic scout

22/04 2018

3.0.9

3.0.9.0

Elastic Driver for Laravel Scout

  Sources   Download

The Requires

 

The Development Requires

laravel elasticsearch elastic scout

24/10 2017

3.0.8

3.0.8.0

Elastic Driver for Laravel Scout

  Sources   Download

The Requires

 

The Development Requires

laravel elasticsearch elastic scout

13/10 2017

2.0.x-dev

2.0.9999999.9999999-dev

Elastic Driver for Laravel Scout

  Sources   Download

The Requires

 

The Development Requires

laravel elasticsearch elastic scout

13/10 2017

2.0.1

2.0.1.0

Elastic Driver for Laravel Scout

  Sources   Download

The Requires

 

The Development Requires

laravel elasticsearch elastic scout

28/09 2017

3.0.7

3.0.7.0

Elastic Driver for Laravel Scout

  Sources   Download

The Requires

 

The Development Requires

laravel elasticsearch elastic scout

21/08 2017

3.0.6

3.0.6.0

Elastic Driver for Laravel Scout

  Sources   Download

The Requires

 

The Development Requires

laravel elasticsearch elastic scout

08/08 2017

3.0.5

3.0.5.0

Elastic Driver for Laravel Scout

  Sources   Download

The Requires

 

The Development Requires

laravel elasticsearch elastic scout

02/07 2017

3.0.4

3.0.4.0

Elastic Driver for Laravel Scout

  Sources   Download

The Requires

 

The Development Requires

laravel elasticsearch elastic scout

24/04 2017

3.0.3

3.0.3.0

Elastic Driver for Laravel Scout

  Sources   Download

The Requires

 

The Development Requires

laravel elasticsearch elastic scout

01/04 2017

3.0.2

3.0.2.0

Elastic Driver for Laravel Scout

  Sources   Download

The Requires

 

The Development Requires

laravel elasticsearch elastic scout

01/04 2017

dev-3.0.2-alpha

dev-3.0.2-alpha

Elastic Driver for Laravel Scout

  Sources   Download

The Requires

 

The Development Requires

laravel elasticsearch elastic scout

02/02 2017

3.0.x-dev

3.0.9999999.9999999-dev

Elastic Driver for Laravel Scout

  Sources   Download

The Requires

 

The Development Requires

laravel elasticsearch elastic scout

02/02 2017

3.0.1

3.0.1.0

Elastic Driver for Laravel Scout

  Sources   Download

The Requires

 

The Development Requires

laravel elasticsearch elastic scout

01/02 2017

3.0.0

3.0.0.0

Elastic Driver for Laravel Scout

  Sources   Download

The Requires

 

The Development Requires

laravel elasticsearch elastic scout

01/02 2017

2.0.0

2.0.0.0

Elastic Driver for Laravel Scout

  Sources   Download

The Requires

 

The Development Requires

laravel elasticsearch elastic scout

29/09 2016

1.0.0.x-dev

1.0.0.9999999-dev

Elastic Driver for Laravel Scout

  Sources   Download

The Requires

 

The Development Requires

laravel elasticsearch elastic scout

29/09 2016

1.0.1.x-dev

1.0.1.9999999-dev

Elastic Driver for Laravel Scout

  Sources   Download

The Requires

 

The Development Requires

laravel elasticsearch elastic scout

29/09 2016

1.0.1

1.0.1.0

Elastic Driver for Laravel Scout

  Sources   Download

The Requires

 

The Development Requires

laravel elasticsearch elastic scout

20/09 2016

0.0.1.x-dev

0.0.1.9999999-dev

Elastic Driver for Laravel Scout

  Sources   Download

The Requires

 

The Development Requires

laravel elasticsearch elastic scout