cashlink / 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
Installs: 11 334
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Requires
- php: >=5.3.0
Requires (Dev)
- doctrine/orm: ^2
- phpunit/phpunit: ~5.7
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.