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

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

xindong888/tree-nav
===================

v1.2(8y ago)013PHP

Since Nov 17Pushed 6y ago1 watchersCompare

[ Source](https://github.com/xindong888/treeNav)[ Packagist](https://packagist.org/packages/xindong888/tree-nav)[ RSS](/packages/xindong888-tree-nav/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

treeNav 无限分类\[非递归\]
===================

[](#treenav-无限分类非递归)

建立数据库

运行myNav.sql生成表和演示数据

在布局文件或者视图文件内写入如下代码:

```
use treeNav\NavTreeX;
use treeNav\Tree;
//....................
NavBar::begin(['brandLabel' => '我的程序']);
echo NavTreeX::widget([
    'options' => ['class' => 'navbar-nav nav'],
    'items' => Tree::genTreeAll(Tree::data(\app\models\Address::className())),
]);
NavBar::end();
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 91.7% 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

Unknown

Total

1

Last Release

3094d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5ea030298078a4b9495cdd37564785c9e0eb6d988dfffc2fa81f962dcb028857?d=identicon)[xindong888](/maintainers/xindong888)

---

Top Contributors

[![xindong888999](https://avatars.githubusercontent.com/u/156026089?v=4)](https://github.com/xindong888999 "xindong888999 (11 commits)")[![xindong888](https://avatars.githubusercontent.com/u/13087957?v=4)](https://github.com/xindong888 "xindong888 (1 commits)")

### Embed Badge

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

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

###  Alternatives

[symfony/polyfill-php72

Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions

4.8k674.7M31](/packages/symfony-polyfill-php72)[symfony/polyfill-intl-icu

Symfony polyfill for intl's ICU-related data and classes

2.6k251.4M96](/packages/symfony-polyfill-intl-icu)[nette/php-generator

🐘 Nette PHP Generator: generates neat PHP code for you. Supports new PHP 8.5 features.

2.2k64.2M574](/packages/nette-php-generator)[consolidation/site-process

A thin wrapper around the Symfony Process Component that allows applications to use the Site Alias library to specify the target for a remote call.

5345.3M8](/packages/consolidation-site-process)[sycho/flarum-profile-cover

Adds the ability to add a cover image to a profile.

1836.6k](/packages/sycho-flarum-profile-cover)

PHPackages © 2026

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