dev-master
9999999-devYii2 module for key-value settings support
MIT
The Requires
The Development Requires
yii2 settings management yii2-config kasser
Yii2 module for key-value settings support
Yii2 module for key-value settings support, (*1)
Either run, (*2)
php composer.phar require --prefer-dist kasser/ksconfig "*"
or add, (*3)
"kasser/ksconfig": "*"
to the require section of your composer.json
file., (*4)
Subsequently, run, (*5)
./yii migrate/up --migrationPath=@vendor/kasser/ksconfig/migrations
in order to create the settings table in your database., (*6)
Typical component usage, (*7)
$ksconfig = Yii::$app->getModule('ksconfig'); $value = $ksconfig->getVariable('email');
Yii2 module for key-value settings support
MIT
yii2 settings management yii2-config kasser