The preferred way to install this extension is through composer.
php composer.phar require --prefer-dist lesha724/yii2-tree-view "*"
to the require section of your
Once the extension is installed, simply use it in your code by :
<?= \lesha724\treeview\TreeView::widget(); ?>```