PHPackages                             voskobovich/yii2-tree-manager - 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. voskobovich/yii2-tree-manager

ActiveYii2-widget

voskobovich/yii2-tree-manager
=============================

Tree Manager using jquery.nestable plugin for Yii 2

v1.0.6(8y ago)2535.0k↓33.3%20[1 PRs](https://github.com/voskobovich/yii2-tree-manager/pulls)MITPHPPHP &gt;=5.4.0

Since Dec 21Pushed 7y ago9 watchersCompare

[ Source](https://github.com/voskobovich/yii2-tree-manager)[ Packagist](https://packagist.org/packages/voskobovich/yii2-tree-manager)[ Docs](https://github.com/voskobovich/yii2-tree-manager)[ RSS](/packages/voskobovich-yii2-tree-manager/feed)WikiDiscussions master Synced 1mo ago

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

Tree Manager for Yii2
=====================

[](#tree-manager-for-yii2)

Виджет для управления деревом.

Внимание!
---------

[](#внимание)

Виджет рассчитан на работу с поведениями Павла Зимакова:

[Yii2 Adjacency List Behavior](https://github.com/paulzi/yii2-adjacency-list)
[Yii2 Nested Sets Behavior](https://github.com/paulzi/yii2-nested-sets)
[Yii2 Nested Intervals Behavior](https://github.com/paulzi/yii2-nested-intervals)
[Yii2 Materialized Path Behavior](https://github.com/paulzi/yii2-materialized-path)

Отличная статья на [Хабре](http://habrahabr.ru/post/266155/).

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist voskobovich/yii2-tree-manager "~1.0"

```

or add

```
"voskobovich/yii2-tree-manager": "~1.0"

```

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

Usage
-----

[](#usage)

1. Подключите к вашей модели любое из указанных выше поведений
2. Подключите в контроллер дополнительные actions

```
public function actions()
{
    $modelClass = 'namespace\ModelName';

    return [
        'moveNode' => [
            'class' => 'voskobovich\tree\manager\actions\MoveNodeAction',
            'modelClass' => $modelClass,
        ],
        'deleteNode' => [
            'class' => 'voskobovich\tree\manager\actions\DeleteNodeAction',
            'modelClass' => $modelClass,
        ],
        'updateNode' => [
            'class' => 'voskobovich\tree\manager\actions\UpdateNodeAction',
            'modelClass' => $modelClass,
        ],
        'createNode' => [
            'class' => 'voskobovich\tree\manager\actions\CreateNodeAction',
            'modelClass' => $modelClass,
        ],
    ];
}

```

3. Выведите виджет в удобном месте

```
use \voskobovich\tree\manager\widgets\nestable\Nestable;

```

Пример того, как выглядит виджет:
---------------------------------

[](#пример-того-как-выглядит-виджет)

[![Screenshot](https://camo.githubusercontent.com/d2a6ab5b7c72d8138ee94e0f214da60905bf4e5fefcbe5748e4fc0f15de10a49/687474703a2f2f733031392e726164696b616c2e72752f693634342f313730382f36342f3566386538653938366433632e706e67)](https://camo.githubusercontent.com/d2a6ab5b7c72d8138ee94e0f214da60905bf4e5fefcbe5748e4fc0f15de10a49/687474703a2f2f733031392e726164696b616c2e72752f693634342f313730382f36342f3566386538653938366433632e706e67)

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity40

Moderate usage in the ecosystem

Community20

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~189 days

Total

7

Last Release

3020d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4267178fdbc890dad02ce0e600f7f5b9bbb54f5824b90feb76724af8cebb710f?d=identicon)[voskobovich](/maintainers/voskobovich)

---

Top Contributors

[![voskobovich](https://avatars.githubusercontent.com/u/4508703?v=4)](https://github.com/voskobovich "voskobovich (4 commits)")[![Evgen1986](https://avatars.githubusercontent.com/u/10276586?v=4)](https://github.com/Evgen1986 "Evgen1986 (2 commits)")[![sashsvamir](https://avatars.githubusercontent.com/u/1404421?v=4)](https://github.com/sashsvamir "sashsvamir (1 commits)")[![TheElk](https://avatars.githubusercontent.com/u/14090191?v=4)](https://github.com/TheElk "TheElk (1 commits)")[![ztdan4ik](https://avatars.githubusercontent.com/u/14123515?v=4)](https://github.com/ztdan4ik "ztdan4ik (1 commits)")

---

Tags

yii2widgeteditornested setsnestable

### Embed Badge

![Health badge](/badges/voskobovich-yii2-tree-manager/health.svg)

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

###  Alternatives

[bizley/quill

Quill editor implementation for Yii 2.

64133.3k5](/packages/bizley-quill)[kdn/yii2-json-editor

JSON editor widget (josdejong/jsoneditor) for Yii 2.

22570.0k3](/packages/kdn-yii2-json-editor)[bizley/contenttools

ContentTools editor implementation for Yii 2.

8016.7k](/packages/bizley-contenttools)[devgroup/yii2-jstree-widget

jsTree widget for yii2

2322.9k](/packages/devgroup-yii2-jstree-widget)[arogachev/yii2-tree

Database tree structures management for Yii 2 framework

222.1k](/packages/arogachev-yii2-tree)

PHPackages © 2026

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