cashlink/php-index

This package is abandoned and no longer maintained. No replacement package was suggested.

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

1.0.1 2018-03-09 11:31 UTC

This package is auto-updated.

Last update: 2023-04-05 18:22:39 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": {
        "cashlink/php-index": "1.0.0"
    }
}

Usage

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

License and author

Original author: Markus Malkusch markus@malkusch.de, WTFPL.

Build Status