PHPackages                             bmdevel/php-index - 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. bmdevel/php-index

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

bmdevel/php-index
=================

This library provides an API to perform binary search operations on a sorted index. The index can be a XML document, a CSV document, or an arbitrary text file where the key has a fixed position. You can easily implement your own index. This API comes handy on any sorted data structure where realtime search operations are necessary without the detour of a DBS import.

0.3(7y ago)154.8k↑11.7%11WTFPLPHPPHP &gt;=5.3.0

Since Jan 19Pushed 7y ago1 watchersCompare

[ Source](https://github.com/bmdevel/php-index)[ Packagist](https://packagist.org/packages/bmdevel/php-index)[ Docs](https://github.com/bmdevel/php-index)[ RSS](/packages/bmdevel-php-index/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)DependenciesVersions (5)Used By (1)

About PHP-Index
===============

[](#about-php-index)

This library provides an API to perform binary search operations on a sorted index. The index can be a XML document, an CSV document, or an arbitrary text file where the key has a fixed position. You can easily implement your own index. This API comes handy on any sorted data structure where realtime search operations are necessary without the detour of a DBS import.

Installation
============

[](#installation)

Use [Composer](https://getcomposer.org/):

```
{
    "require": {
        "malkusch/php-index": "0.0.1"
    }
}
```

Usage
=====

[](#usage)

Have a look at the docs/examples/ folder. You can find there examples for each implemented index structure.

License and author
==================

[](#license-and-author)

This project is free and under WTFPL. Responsable for this project is Markus Malkusch .

Donations
---------

[](#donations)

If you like BAV and feel generous donate a few Bitcoins here: 1335STSwu9hST4vcMRppEPgENMHD2r1REK

[![Build Status](https://camo.githubusercontent.com/be5ab9fea90d8a41cb02e67cae2f46d9066ed7e4031a523e5839f20186ccd98b/68747470733a2f2f7472617669732d63692e6f72672f6d616c6b757363682f7068702d696e6465782e737667)](https://travis-ci.org/malkusch/php-index)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity51

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 ~121 days

Total

3

Last Release

2799d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5b1ad41927bdf81b01afd37feb45c33e7bbc52a4b56fd2592710ef923040e192?d=identicon)[bmdevel](/maintainers/bmdevel)

---

Top Contributors

[![bmdevel](https://avatars.githubusercontent.com/u/11927236?v=4)](https://github.com/bmdevel "bmdevel (2 commits)")

---

Tags

indexbinary search

### Embed Badge

![Health badge](/badges/bmdevel-php-index/health.svg)

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

###  Alternatives

[ruflin/elastica

Elasticsearch Client

2.3k50.4M203](/packages/ruflin-elastica)[opensearch-project/opensearch-php

PHP Client for OpenSearch

15224.3M65](/packages/opensearch-project-opensearch-php)[terminal42/escargot

A web crawler or spider library based on Symfony components

581.4M3](/packages/terminal42-escargot)[floriansemm/solr-bundle

Symfony Solr integration bundle

12280.2k2](/packages/floriansemm-solr-bundle)[opensearchserver/opensearchserver

PHP library for OpenSearchServer: professionnal search engine, crawlers (web, file, database), REST APIs, .... This library uses OpenSearchServer's V2 API.

5267.5k](/packages/opensearchserver-opensearchserver)[johannschopplich/kirby-algolia-docsearch

Algolia DocSearch plugin for Kirby CMS

262.1k](/packages/johannschopplich-kirby-algolia-docsearch)

PHPackages © 2026

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