29/07
2016
Work with params for Yii2
Work with params for Yii2, (*1)
The preferred way to install this extension is through composer., (*2)
Either run, (*3)
php composer.phar require --prefer-dist pashkinz92/yii2-params "dev-master"
or add, (*4)
"pashkinz92/yii2-params": "dev-master"
to the require section of your composer.json
file., (*5)
Once the extension is installed, simply use it in your code by :, (*6)
$config['bootstrap'][] = 'params'; $config['modules']['params'] = [ 'class' => 'pashkinz92\params\module\ParamsModule', ];
yii migrate --migrationPath=@pashkinz92/params/migrations
, (*7)