PHPackages                             shuipf/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. shuipf/tree

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

shuipf/tree
===========

PHP数组转换成树形结构处理

v1.0.2(7y ago)01003MITPHPPHP &gt;=5.5.9

Since Dec 6Pushed 7y ago1 watchersCompare

[ Source](https://github.com/shuipf/tree)[ Packagist](https://packagist.org/packages/shuipf/tree)[ Docs](http://github.com/shuipf/tree)[ RSS](/packages/shuipf-tree/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (4)Used By (0)

tree
====

[](#tree)

PHP数组转换成树形结构处理

`平时项目经常用到，所以就整理成独立的composer包，方便后续维护更新。`

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

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 ~6 days

Total

3

Last Release

2705d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/586e69f9604b7d635ea192cddcccd1302214b7fba8f33375394d1a0e384476c5?d=identicon)[水平凡](/maintainers/%E6%B0%B4%E5%B9%B3%E5%87%A1)

---

Top Contributors

[![shuipf](https://avatars.githubusercontent.com/u/2285144?v=4)](https://github.com/shuipf "shuipf (7 commits)")

---

Tags

tree

### Embed Badge

![Health badge](/badges/shuipf-tree/health.svg)

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

###  Alternatives

[knplabs/knp-menu

An object oriented menu library

1.4k55.8M287](/packages/knplabs-knp-menu)[cuyz/valinor

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

1.5k9.2M108](/packages/cuyz-valinor)[bluem/tree

Library for handling tree structures based on parent IDs

252916.1k7](/packages/bluem-tree)[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.

320392.1k17](/packages/codewithdennis-filament-select-tree)[loophp/phptree

An implementation of tree data structure

981.8M2](/packages/loophp-phptree)[kartik-v/yii2-tree-manager

An enhanced tree management module with tree node selection and manipulation using nested sets.

156529.0k15](/packages/kartik-v-yii2-tree-manager)

PHPackages © 2026

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