PHPackages                             dolfelt/php-intervaltree - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. dolfelt/php-intervaltree

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

dolfelt/php-intervaltree
========================

Interval Tree implementation in PHP

2.0.2(11y ago)069.2kMITPHPPHP &gt;=5.5

Since Sep 2Pushed 10y ago1 watchersCompare

[ Source](https://github.com/dolfelt/php-intervaltree)[ Packagist](https://packagist.org/packages/dolfelt/php-intervaltree)[ Docs](https://github.com/judev/php-intervaltree)[ RSS](/packages/dolfelt-php-intervaltree/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (7)Used By (0)

A PHP implementation of the Interval Tree data structure
========================================================

[](#a-php-implementation-of-the-interval-tree-data-structure)

Based on:

-
-

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

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 57.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~42 days

Recently: every ~52 days

Total

6

Last Release

4067d ago

Major Versions

1.0.2 → 2.0.02014-12-10

### Community

Maintainers

![](https://www.gravatar.com/avatar/e47a502e778d0886033c82f584d39f1d06129973a6ed687ac6b016d1eb4e92d9?d=identicon)[dolfelt](/maintainers/dolfelt)

---

Top Contributors

[![judev](https://avatars.githubusercontent.com/u/219978?v=4)](https://github.com/judev "judev (11 commits)")[![hallabro](https://avatars.githubusercontent.com/u/44033026?v=4)](https://github.com/hallabro "hallabro (7 commits)")[![dolfelt](https://avatars.githubusercontent.com/u/202546?v=4)](https://github.com/dolfelt "dolfelt (1 commits)")

---

Tags

phpdata structures

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dolfelt-php-intervaltree/health.svg)

```
[![Health](https://phpackages.com/badges/dolfelt-php-intervaltree/health.svg)](https://phpackages.com/packages/dolfelt-php-intervaltree)
```

###  Alternatives

[php-ds/php-ds

Specialized data structures as alternatives to the PHP array

4108.8M134](/packages/php-ds-php-ds)[imanghafoori/laravel-anypass

A minimal yet powerful package to help you in development.

21421.6k](/packages/imanghafoori-laravel-anypass)[judev/php-intervaltree

Interval Tree implementation in PHP

1138.8k1](/packages/judev-php-intervaltree)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
