Skip to content

PHP-Index uses a plain text file as an index for a efficient search on data. The index is a simple ordered list, so a binary search can be performed. Current implementation supports a XML document as database.

Notifications You must be signed in to change notification settings

haucap/php-index

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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 GPL (see docs/gpl.txt). So do what ever you want. But it would be nice to leave a note about the authors.

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

About

PHP-Index uses a plain text file as an index for a efficient search on data. The index is a simple ordered list, so a binary search can be performed. Current implementation supports a XML document as database.

Resources

Stars

Watchers

Forks

Packages

No packages published