# yii2-gii **Repository Path**: cuifox/yii2-gii ## Basic Information - **Project Name**: yii2-gii - **Description**: yii2-gii - **Primary Language**: PHP - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2022-03-23 - **Last Updated**: 2025-05-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # yii2-gii #### 介绍 yii2-gii #### 安装教程 ```shell script php composer.phar require cuifox/yii2-gii:* ``` #### 使用说明 ```php if (YII_ENV_DEV) { // ... $config['bootstrap'][] = 'gii'; $config['modules']['gii'] = [ 'class' => 'yii\gii\Module', // uncomment the following to add your IP if you are not connecting from localhost. 'allowedIPs' => ['127.0.0.1', '::1', '*'], 'generators' => [ 'model' => [ 'class' => CuiFox\gii\generators\model\Generator::class, 'ns' => 'app\models\common', ], ], ]; } ```