egwk/laravel-scout-sphinx is a Laravel package for sphinx search engine for laravel scout..
It currently has 6 GitHub stars and 2.937 downloads on Packagist (latest version 3.0).
Install it with composer require egwk/laravel-scout-sphinx.
Discover more Laravel packages by egwk
or browse all Laravel packages to compare alternatives.
Last updated
Sphinx Search Engine for Laravel Scout. Forked from https://github.com/hocnt84/laravel-scout-sphinx Note: Pagination did not work with the original repo. Maybe it's due a Query Builder issue. This is the only reason we've created this fork.
You should have Sphinx service installed, see: http://sphinxsearch.com/
Use composer require to install the Engine.
$ composer require egwk/laravel-scout-sphinx
Update config/scout.php, and add an entry for sphinx:
//
'sphinx' => [
'host' => env('SCOUT_HOST', 'localhost'),
'port' => env('SCOUT_PORT', '9306'),
],
//
Set SCOUT_* variables in your .env file:
SCOUT_DRIVER=sphinxsearch
SCOUT_PREFIX=myprefix_
SCOUT_HOST=localhost
SCOUT_PORT=9306
Update config/app.php by adding an entry for the service provider:
'providers' => [
// ...
Egwk\LaravelScoutSphinx\Provider\SphinxEngineProvider::class,
];
See Laravel Scout Docs for further info.