PHPackages                             pcrt/yii2-treeview - 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. pcrt/yii2-treeview

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

pcrt/yii2-treeview
==================

Yii2-treeview widget based on FancyTree

0.9.8(6y ago)037BSD-3-ClauseJavaScript

Since Jun 6Pushed 6y agoCompare

[ Source](https://github.com/pcrt/yii2-treeview)[ Packagist](https://packagist.org/packages/pcrt/yii2-treeview)[ RSS](/packages/pcrt-yii2-treeview/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (6)DependenciesVersions (7)Used By (0)

Yii2-Datepicker
===============

[](#yii2-datepicker)

[Treeview](http://wwwendt.de/tech/fancytree/demo/#sample-multi-ext.html) gives you a customizable treeview with support for multicolumn, filtering, checkbox and many other highly used options.

\##Installation

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

Either run

```
$ php composer.phar require pcrt/yii2-treeview "*"

```

or add

```
"pcrt/yii2-treeview": "*"

```

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

Usage
-----

[](#usage)

Once the extension is installed, modify your application configuration to include:

```
use pcrt\widgets\treeview\Treeview:

// with \yii\bootstrap\ActiveForm;
echo $form
    ->field($model, 'attribute')
    ->widget(
        Treeview::class,
        [
          'clientOptions' => [
            'source' => "http://www.xxxxx.it/out.json",
          ]
        ]
    );

// as widget
echo Treeview::widget([
    'id'=>'treeview',
    'name'=>'treeview',
    'clientOptions' => [
      'source' => "http://www.xxxxx.it/out.json",
    ]
]);
```

License
-------

[](#license)

Yii2-Treeview is released under the BSD-3 License. See the bundled `LICENSE.md` for details.

Enjoy!

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity53

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

Total

6

Last Release

2531d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6f6ad6343f484e9e2ee1c530ec7c4067ad974f540cff580dce786b8953f3fdd1?d=identicon)[protocolli](/maintainers/protocolli)

---

Top Contributors

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

---

Tags

helperyii2themeassetsfancytree

### Embed Badge

![Health badge](/badges/pcrt-yii2-treeview/health.svg)

```
[![Health](https://phpackages.com/badges/pcrt-yii2-treeview/health.svg)](https://phpackages.com/packages/pcrt-yii2-treeview)
```

PHPackages © 2026

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