Skip to content

基于yii-gii 实现的模型功能测试的拓展工具

Notifications You must be signed in to change notification settings

BinZhiZhu/yii-curd-cest-gii

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yii-curd-cest-gii

基于yii-gii 实现的模型功能测试的拓展工具

自定义gii模板

  $config['modules']['gii'] = [
        'class' => 'yii\gii\Module',
        'generators' => [ //这里配置生成器
            'curdCest' => [ // 生成器名称
                'class' => 'app\myTemplates\modelCest\Generator', // 生成器类
                'templates' => [ //配置模版文件
                    'my' => '@app/myTemplates/modelCest/default', // 模版名称 => 模版路径
                ]
            ],
        ],
    ];

pic-1 pic-2

About

基于yii-gii 实现的模型功能测试的拓展工具

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages