nabeelio/sphinx-cakephp

This package is abandoned and no longer maintained. No replacement package was suggested.
There is no license information available for the latest version (dev-master) of this package.

Sphinx Search plugin for CakePHP

Installs: 287

Dependents: 0

Suggesters: 0

Security: 0

Stars: 28

Watchers: 2

Forks: 11

Type:cakephp-plugin

dev-master 2016-08-10 13:10 UTC

This package is not auto-updated.

Last update: 2020-01-28 21:05:40 UTC


README

Updated to further maintain.

Derived version from the Sphinx Behavior by @nabeelio

Updated version for the Sphinx Behavior by Vilen Tambovtsev

I've updated this for Cake2.0, and also so it runs one query to Sphinx, instead of two (one for results, one for count)

Also makes the search results that are returned from Sphinx available to the model (I use this to build filters for search)

The original usage page is here:

http://bakery.cakephp.org/articles/xumix/2009/07/11/sphinx-behavior

Installation

[Manual]

[Composer]

in the composer.json file of your project add

"repositories":
[
    {
        "type": "vcs",
        "url": "https://github.com/nabeelio/Sphinx-CakePHP"
    }
],
"require":{
    "nabeelio/sphinx-cakephp": "dev-master"
}

The plugin will be installed in your Plugin directory.

Usage

Make sure the plugin is loaded in app/Config/bootstrap.php.

CakePlugin::load('SphinxCakephp');