PHPackages                             wokster/yii2-nested-sets-tree-behavior - 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. wokster/yii2-nested-sets-tree-behavior

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

wokster/yii2-nested-sets-tree-behavior
======================================

NestedSetsTreeBehavior for build array from creocoder nested sets behavior and fancytree widget

1.0(8y ago)94.2k↓91.7%3[2 issues](https://github.com/wokster/yii2-nested-sets-tree-behavior/issues)MITPHP

Since Jul 27Pushed 6y ago1 watchersCompare

[ Source](https://github.com/wokster/yii2-nested-sets-tree-behavior)[ Packagist](https://packagist.org/packages/wokster/yii2-nested-sets-tree-behavior)[ RSS](/packages/wokster-yii2-nested-sets-tree-behavior/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

NestedSetsTreeBehavior
======================

[](#nestedsetstreebehavior)

NestedSetsTreeBehavior this is the connector between and

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist wokster/yii2-nested-sets-tree-behavior "*"

```

or add

```
"wokster/yii2-nested-sets-tree-behavior": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your model :

```
'htmlTree'=>[
    'class' => \wokster\treebehavior\NestedSetsTreeBehavior::className()
]
```

use

```
SomeModel::findOne($id)->tree()
```

to get array for fancytree-widget

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

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

3263d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5597609?v=4)[Максим](/maintainers/wokster)[@wokster](https://github.com/wokster)

---

Top Contributors

[![wokster](https://avatars.githubusercontent.com/u/5597609?v=4)](https://github.com/wokster "wokster (5 commits)")[![godem111](https://avatars.githubusercontent.com/u/6452867?v=4)](https://github.com/godem111 "godem111 (1 commits)")

---

Tags

arrayyii2extensionBehaviornested setsfancytreecreocoder

### Embed Badge

![Health badge](/badges/wokster-yii2-nested-sets-tree-behavior/health.svg)

```
[![Health](https://phpackages.com/badges/wokster-yii2-nested-sets-tree-behavior/health.svg)](https://phpackages.com/packages/wokster-yii2-nested-sets-tree-behavior)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[sjaakp/yii2-taggable

Manage tags of ActiveRecord in Yii2.

2932.6k](/packages/sjaakp-yii2-taggable)[baibaratsky/yii2-serialized-attributes-behavior

Yii2 Serialized Attributes Behavior

1275.5k9](/packages/baibaratsky-yii2-serialized-attributes-behavior)[mdmsoft/yii2-autonumber

Auto number extension for the Yii framework

1831.3k](/packages/mdmsoft-yii2-autonumber)[slatiusa/yii2-nestable

Yii 2.0 implementation of nested set behavior using jquery.nestable plugin.

1918.7k2](/packages/slatiusa-yii2-nestable)[valentinek/yii2-closure-table-behavior

This extension allows you to get functional for closure table trees.

1615.5k](/packages/valentinek-yii2-closure-table-behavior)

PHPackages © 2026

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