pashkinz92 / yii2-params
Work with params for Yii2
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 1
Open Issues: 0
Type:yii2-extension
Requires
This package is auto-updated.
Last update: 2024-12-29 04:18:06 UTC
README
Work with params for Yii2
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist pashkinz92/yii2-params "dev-master"
or add
"pashkinz92/yii2-params": "dev-master"
to the require section of your composer.json
file.
Usage
Once the extension is installed, simply use it in your code by :
$config['bootstrap'][] = 'params';
$config['modules']['params'] = [
'class' => 'pashkinz92\params\module\ParamsModule',
];
yii migrate --migrationPath=@pashkinz92/params/migrations