dr_fap/yii2-faker
Composer 安装命令:
composer require dr_fap/yii2-faker
包简介
Fixture generator. The Faker integration for the Yii framework.
README 文档
README
Faker Extension for Yii 2
This extension provides a Faker fixture command for the Yii framework 2.0.
For license information check the LICENSE-file.
Documentation is at docs/guide/README.md.
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist yiisoft/yii2-faker
or add
"yiisoft/yii2-faker": "~2.0.0"
to the require section of your composer.json.
Usage
To use this extension, simply add the following code in your application configuration (console.php):
'controllerMap' => [ 'fixture' => [ 'class' => 'yii\faker\FixtureController', ], ],
统计信息
- 总下载量: 271
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2025-02-07