rsr/yii2-check-deps Check for new migrations/dependencies of Yii 2 application when in development mode and apply them if user asked to.

yii2-check-deps

  1. Installation
  2. Usage
  3. Resources

Check for new migrations/dependencies of Yii 2 application when in development mode and apply them if user asked to.

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --dev rsr/yii2-check-deps

or add

"rsr/yii2-check-deps" : "*"

to the require-dev section of your composer.json file.

Usage

Add the following to yii2 config/web.php file:

...
if (YII_ENV_DEV) {
    ... 
    $config['bootstrap'][] = 'checkDeps';
    $config['components']['checkDeps'] = [
        'class' => rsr\yii2\checkDeps\CheckDeps::class
    ];
    ...
}
...
return $config;

Resources

0 0
1 follower
214 downloads
Yii Version: 2.0
License: MIT
Category: Others
Developed by: R.S.R
Created on: Sep 27, 2019
Last updated: (not set)
Packagist Profile
Github Repository

Related Extensions