Download the PHP package euskadi31/search-php without Composer
On this page you can find all versions of the php package euskadi31/search-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package search-php
Search Engine for PHP 
Wrapper for search engine.
Engine supported
- Sphinx
- SphinxQL
Example
require 'path/to/vendor/autoload.php';
$search = new Search\Engine\SphinxQL("127.0.0.1", 9306);
// index document
$search->insert("tweets", [
"id" => 4951957226,
"text" => "For a bit of light weekend reading how about https://github.com/php/php-langspec/blob/master/spec/php-spec-draft.md … ? Still very much work in progress, but let us know if you spot typos",
"timestamp" => 1407857815
]);
$search->insert("contacts", [
"id" => 1234,
"firstname" => "Kiefer",
"lastname" => "Sutherland",
"email" => "[email protected]"
"timestamp" => 1407857945
]);
$search->insert("contacts", [
"id" => 1235,
"firstname" => "Chloe",
"lastname" => "O'Brian",
"email" => "[email protected]"
"timestamp" => 1407857948
]);
// search
$response = $search->search("chloe", "contacts");
License
search-php is licensed under the MIT license.
All versions of search-php with dependencies
PHP Build Version
Package Version
The package euskadi31/search-php contains the following files
Loading the files please wait ....