Download the PHP package psagnataf/sphinxsearch without Composer
On this page you can find all versions of the php package psagnataf/sphinxsearch. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download psagnataf/sphinxsearch
More information about psagnataf/sphinxsearch
Files in psagnataf/sphinxsearch
Package sphinxsearch
Short Description Laravel package to query Sphinxsearch in Laravel
License Apache-2.0
Homepage https://github.com/PsagnatAF/sphinxsearch
Informations about the package sphinxsearch
Sphinx Search for Laravel 6 - Custom build with snippets support
Simple Laravel 6 package for make queries to Sphinx Search. Forked from by sngrl/sphinxsearch package for Laravel 5.
This package was created to import to the site packagist.org and allow installation through Composer (https://getcomposer.org/).
Installation
Require this package in your composer.json:
Run in your console composer update
command to pull down the latest version of Sphinx Search.
Or just run this in console:
After updating composer, add the ServiceProvider to the "providers" array in config/app.php:
You can add this line to the files, where you may use SphinxSearch:
Configuration
To use Sphinx Search, you need to configure your indexes and what model it should query. To do so, publish the configuration into your app.
This will create the file config/sphinxsearch.php
. Modify as needed the host and port, and configure the indexes, binding them to a table and id column.
Or disable the model querying to just get a list of result id's.
Usage
Basic query (raw sphinx results)
Basic query (with Eloquent)
Query another Sphinx index with limit and filters.
Query with match and sort type specified.
License
Sngrl Sphinx Search is open-sourced software licensed under the MIT license