sokil/php-sphinxsearch

Installs: 40

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 1

pkg:composer/sokil/php-sphinxsearch

0.1 2014-03-13 05:58 UTC

This package is auto-updated.

Last update: 2025-09-28 03:43:04 UTC


README

PHP wrapper to sphinx search pecl extension. Working with search results as objects.

Installation

You need to have sphinx pecl extension installed. For Ubuntu or Debian based distributives:

$ sudo apt-get install php5-dev php-pear libsphinxclient-dev
$ sudo pecl install sphinx

Add requirement to your composer:

{
    "require": {
        "sokil/php-sphinxsearch": "dev-master"
    }
}

Basic Usage

$qf = new QueryFactory('127.0.0.1', '23023');
        
$resultSet = $qf->find()
    ->in('idx_posts')
    ->match('If you can')
    ->fetch();