dev-master
9999999-dev
MIT
The Requires
Module for multi site (WIP), (*2)
The preferred way to install this extension is through composer., (*3)
Either run, (*4)
php composer.phar require --prefer-dist nullref/yii2-multisite "*"
or add, (*5)
"nullref/yii2-multisite": "*"
to the require section of your composer.json
file., (*6)
Then You have run console command for install this module:, (*7)
php yii module/install nullref/yii2-multisite
Pay attention that if you don't use our application template it needs to change config files structure to have ability run commands that show above., (*8)
Please check this documentation section, (*9)
You need to add module to bootstrap list of application:, (*10)
//... 'bootstrap' => [ 'multisite', //... ], //...
You can use this module with modules: - Yii2 Admin. - Yii2 Full Admin., (*11)
'multisite' => [ 'class' => 'nullref\multisite\Module', 'classMap' => [ 'Site' => 'app\models\Site', 'SiteQuery' => 'app\models\SiteQuery', ], ],
MIT