reketaka / yii2-nodes-tree
Иерархическая структура сайта
Package info
github.com/Reketaka/yii2-nodes
Type:yii2-extension
pkg:composer/reketaka/yii2-nodes-tree
1.210
2018-08-20 05:22 UTC
Requires
This package is auto-updated.
Last update: 2026-02-14 01:33:31 UTC
README
Иерархическая структура сайта
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require reketaka/yii2-nodes-tree
or add
"reketaka/yii2-nodes-tree": "*"
Add to your web.php
'components' => [
'urlManager' => [
'class'=>'\reketaka\nodes\components\UrlManager'
]
]
'modules'=>[
'nodes'=>[
'class'=>'reketaka\nodes\Module',
'controllerScanPathAr'=>[
'namespace'=>'dir_path'
],
'homePage' => ['/site/index']
]
]
to the require section of your composer.json file.