What is gii in Yii 2 and for what it is used ?

devquora
devquora

Posted On: Feb 22, 2018

 

Gii is module powerful module provided by Yii framework. It helps you create and generate fully customized forms, models, CRUD for database and more.You can enable Gii by configuring it in the modules property of the application. Depending upon how you created your application, you may find the following code is already provided in the config/web.php configuration file:

$config = [ ... ];

if (YII_ENV_DEV) {
    $config['bootstrap'][] = 'gii';
    $config['modules']['gii'] = [
        'class' => 'yii\gii\Module',
    ];
}

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Yii 2 Interview Questions

    Which PHP version is required to install Yii 2.0 ?

    Which PHP version is required to install Yii 0 ?..

    Yii 2 Interview Questions

    What is latest version Yii 2 Framework ?

    The latest version of Yii 2 is 2.0.15, released on March 20, 2018...