Download the PHP package nekhbet/laravel-sphinxsearch without Composer
On this page you can find all versions of the php package nekhbet/laravel-sphinxsearch. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nekhbet/laravel-sphinxsearch
More information about nekhbet/laravel-sphinxsearch
Files in nekhbet/laravel-sphinxsearch
Package laravel-sphinxsearch
Short Description Laravel package to query SphinxSearch
License Apache-2.0
Homepage https://github.com/nekhbet/laravel-sphinxsearch
Informations about the package laravel-sphinxsearch
This is a maintained version to the latest Laravel (right now 10.x) and to Sphinx 3.x.
I'm using it for my personal projects, so it will be up-to-date.
What I have done:
- got rid of "strage" dependencies and included https://github.com/sphinxsearch/sphinx/blob/master/api/sphinxapi.php here, not on yet another repo
- tweaks for PHP 8.x
- make it work with Sphinx 3.x
- various fixes
==========================
To install it:
Original notes below:
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:
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
All versions of laravel-sphinxsearch with dependencies
ext-mbstring Version *
ext-bcmath Version *
illuminate/support Version 4.2.*|5.*|^6.0|^7.0|^8.0|^9.0|^10.0