Skip to content

6. Laravel scout driver

Basem Khirat edited this page Jul 23, 2017 · 1 revision

First, follow Laravel Scout installation.

All you have to do is updating these lines in config/scout.php configuration file.

# change the default driver to 'es'
	
'driver' => env('SCOUT_DRIVER', 'es'),
	
# link `es` driver with default elasticsearch connection in config/es.php
	
'es' => [
    'connection' => env('ELASTIC_CONNECTION', 'default'),
],

Have a look at laravel Scout documentation.

Clone this wiki locally