reketaka/yii2-nodes-tree

Иерархическая структура сайта

Installs: 107

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:yii2-extension

1.210 2018-08-20 05:22 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.