PHPackages                             php-standard-library/tree - 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. php-standard-library/tree

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

php-standard-library/tree
=========================

Immutable tree data structures and operations for hierarchical data

6.2.1(3mo ago)03.4kMITPHPPHP ~8.4.0 || ~8.5.0

Since Mar 17Pushed 2mo agoCompare

[ Source](https://github.com/php-standard-library/tree)[ Packagist](https://packagist.org/packages/php-standard-library/tree)[ Docs](https://php-standard-library.dev)[ RSS](/packages/php-standard-library-tree/feed)WikiDiscussions next Synced 1mo ago

READMEChangelog (5)Dependencies (9)Versions (13)Used By (0)

PHP Standard Library - Tree
===========================

[](#php-standard-library---tree)

Immutable tree data structures and operations for hierarchical data.

---

- [Documentation](https://php-standard-library.dev)
- [Contributing](https://github.com/php-standard-library/php-standard-library/blob/next/CONTRIBUTING.md)
- [Create Pull Request](https://github.com/php-standard-library/php-standard-library/pulls)
- [Report an Issue](https://github.com/php-standard-library/php-standard-library/issues)

###  Health Score

46

—

FairBetter than 92% of packages

Maintenance83

Actively maintained with recent releases

Popularity23

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~4 days

Recently: every ~9 days

Total

12

Last Release

104d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8489d7c85bfa7c637b8e13484f3f659652aea0568b6e7f9e66edeb0649b5a2f1?d=identicon)[azjezz](/maintainers/azjezz)

---

Top Contributors

[![azjezz](https://avatars.githubusercontent.com/u/29315886?v=4)](https://github.com/azjezz "azjezz (9 commits)")

---

Tags

data-structurehierarchicaltreetreehierarchicaldata structure

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/php-standard-library-tree/health.svg)

```
[![Health](https://phpackages.com/badges/php-standard-library-tree/health.svg)](https://phpackages.com/packages/php-standard-library-tree)
```

###  Alternatives

[knplabs/knp-menu

An object oriented menu library

1.4k58.9M350](/packages/knplabs-knp-menu)[phpro/soap-client

A general purpose SoapClient library

8896.3M56](/packages/phpro-soap-client)[cuyz/valinor

Dependency free PHP library that helps to map any input into a strongly-typed structure.

1.5k14.6M194](/packages/cuyz-valinor)[bluem/tree

Library for handling tree structures based on parent IDs

252966.5k7](/packages/bluem-tree)[loophp/phptree

An implementation of tree data structure

981.8M2](/packages/loophp-phptree)[codewithdennis/filament-select-tree

The multi-level select field enables you to make single selections from a predefined list of options that are organized into multiple levels or depths.

329575.9k33](/packages/codewithdennis-filament-select-tree)

PHPackages © 2026

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