Download the PHP package dariusiii/sphinxsearch without Composer
On this page you can find all versions of the php package dariusiii/sphinxsearch. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dariusiii/sphinxsearch
More information about dariusiii/sphinxsearch
Files in dariusiii/sphinxsearch
Package sphinxsearch
Short Description Laravel package to query Sphinxsearch in Laravel 5
License Apache-2.0
Homepage http://github.com/DariusIII/sphinxsearch
Informations about the package sphinxsearch
Sphinx Search for Laravel 5 - Custom build with snippets support
Simple Laravel 5 package for make queries to Sphinx Search. Inspired by scalia/sphinxsearch package for Laravel 4.
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:
No need to do this if you are using Laravel 5.5 as it will autodiscover this package.
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
DariusIII Sphinx Search is open-sourced software licensed under the MIT license
All versions of sphinxsearch with dependencies
php Version >=7.1.0
illuminate/support Version 5.x
gigablah/sphinxphp Version 2.0.*