Skip to content

Reketaka/yii2-nodes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 

Repository files navigation

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

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

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages