Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 592 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 592 Bytes

A PHP implementation of the Interval Tree data structure

This is a back-port to PHP5.4.

Based on:

Your range objects should implement IntervalTree\RangeInterface. There are numeric and DateTime-based implementations included.

To install via Composer:

  1. composer.phar require judev/php-intervaltree:dev-master
  2. add to composer.json:
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/dillchuk/php-intervaltree"
        }
    ],