Home > Article > PHP Framework > Introduction to the use of gii tools in the yii framework
gii is an extension that automatically generates code through gii and leaves some common codes to the program to generate, which greatly reduces the developer's time cost.
The usage method is as follows:
(Learning video sharing: Programming video)
Open main.php under protected\config and find the following paragraph Code:
It was originally commented. Now I need to remove the comment and change my password as follows:
##Enter index.php?r=gii in the address bar. The gii login interface will open. Enter the password set in the previous step. After entering, you can operate the Model Generator and Crud Generator Related recommendations:The above is the detailed content of Introduction to the use of gii tools in the yii framework. For more information, please follow other related articles on the PHP Chinese website!