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.
Use Composer:
{
"require": {
"malkusch/php-index": "0.0.1"
}
}
Have a look at the docs/examples/ folder. You can find there examples for each implemented index structure.
This project is free and under WTFPL. Responsable for this project is Markus Malkusch markus@malkusch.de.
If you like BAV and feel generous donate a few Bitcoins here: 1335STSwu9hST4vcMRppEPgENMHD2r1REK