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

dev-master 2016-07-29 06:46 UTC

This package is auto-updated.

Last update: 2024-03-29 02:50:29 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