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

0.3 2018-09-19 09:54 UTC

This package is auto-updated.

Last update: 2024-04-20 00:17:15 UTC


README

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

Use Composer:

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

Usage

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

License and author

This project is free and under WTFPL. Responsable for this project is Markus Malkusch markus@malkusch.de.

Donations

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

Build Status