1.

What Is “gii” In Yii 2 And For What It Is Used?

Answer»

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 Module',

];

}

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 Module',

];

}



Discussion

No Comment Found