PHPackages                             euskadi31/search-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Search &amp; Filtering](/categories/search)
4. /
5. euskadi31/search-php

ActiveLibrary[Search &amp; Filtering](/categories/search)

euskadi31/search-php
====================

Search engine wrapper

v0.1.9(11y ago)361412MITPHPPHP &gt;=5.3.3

Since Aug 12Pushed 11y ago1 watchersCompare

[ Source](https://github.com/euskadi31/search-php)[ Packagist](https://packagist.org/packages/euskadi31/search-php)[ RSS](/packages/euskadi31-search-php/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (3)Versions (11)Used By (2)

Search Engine for PHP [![Build Status](https://camo.githubusercontent.com/ed7ff174c92d388c2a0f73e635b26d2cdb953d86a8d6a789a9b5b113aa955b9e/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f6575736b61646933312f7365617263682d7068702e706e67)](http://travis-ci.org/euskadi31/search-php)
==================================================================================================================================================================================================================================================================================================

[](#search-engine-for-php-)

Wrapper for search engine.

Engine supported
----------------

[](#engine-supported)

- Sphinx
- SphinxQL

Example
-------

[](#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"     => "kiefer.sutherland@example.com"
    "timestamp" => 1407857945
]);

$search->insert("contacts", [
    "id"        => 1235,
    "firstname" => "Chloe",
    "lastname"  => "O'Brian",
    "email"     => "chloe.obrian@example.com"
    "timestamp" => 1407857948
]);

// search
$response = $search->search("chloe", "contacts");
```

License
-------

[](#license)

search-php is licensed under [the MIT license](LICENSE.md).

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~25 days

Recently: every ~3 days

Total

10

Last Release

4113d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/166d3f646053e073824a9f1d2ef6c3bb6bbf9f28f5e3d5764ec45354ade21d7b?d=identicon)[euskadi31](/maintainers/euskadi31)

---

Top Contributors

[![euskadi31](https://avatars.githubusercontent.com/u/195383?v=4)](https://github.com/euskadi31 "euskadi31 (24 commits)")

---

Tags

searchelasticsearchsphinxqlsphinxengine

### Embed Badge

![Health badge](/badges/euskadi31-search-php/health.svg)

```
[![Health](https://phpackages.com/badges/euskadi31-search-php/health.svg)](https://phpackages.com/packages/euskadi31-search-php)
```

###  Alternatives

[contao-community-alliance/dc-general

Universal data container for Contao

1680.8k90](/packages/contao-community-alliance-dc-general)[ripaclub/sphinxsearch

Sphinx Search library provides SphinxQL indexing and searching features

6232.3k3](/packages/ripaclub-sphinxsearch)[javer/sphinx-bundle

Provides integration of Sphinx search engine with Symfony using SphinxQL

24191.8k](/packages/javer-sphinx-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
