yii2-gii
The preferred way to install this extension is through composer.
Either run
php composer require --prefer-dist egor260890/yii2-gii --dev "*"
or add
"egor260890/yii2-gii": "*"
to the require section of your composer.json
file.
Once the extension is installed, simply use it in your code by :
if (!YII_ENV_TEST) {
// configuration adjustments for 'dev' environment
$config['bootstrap'][] = 'debug';
$config['modules']['debug'] = [
'class' => 'yii\debug\Module',
];
$config['bootstrap'][] = 'gii';
$config['modules']['gii'] = [
'class' => 'egor260890\gii\Module',
];
}