定制 elisdn/yii2-gii-fixture-generator 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

elisdn/yii2-gii-fixture-generator

最新稳定版本:1.1.4

Composer 安装命令:

composer require elisdn/yii2-gii-fixture-generator

包简介

Fixture class generator for Gii module of Yii2 Framework.

README 文档

README

The extension allows to generate fixture class on base of existing ActiveRecord model class. Also it allows to grab existing records from database into fixture data file.

Fixture Generator

Installation

Install with composer:

composer require --dev elisdn/yii2-gii-fixture-generator

or add

"elisdn/yii2-gii-fixture-generator": "*"

to the require section of your composer.json file.

Add new generator into your Gii module config:

$config['modules']['gii'] = [
    'class' => 'yii\gii\Module',
    'generators' => [
        'fixture' => [
            'class' => 'elisdn\gii\fixture\Generator',
        ],
    ],
];

And add the following line:

Yii::setAlias('@tests', dirname(__DIR__) . '/tests');

in top of your config/web.php file.

统计信息

  • 总下载量: 293.56k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 29
  • 点击次数: 1
  • 依赖项目数: 3
  • 推荐数: 0

GitHub 信息

  • Stars: 26
  • Watchers: 4
  • Forks: 8
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 未知

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固