werkbot/werkbot-seeder
最新稳定版本:4.1.0
Composer 安装命令:
composer require werkbot/werkbot-seeder
包简介
Development database seeder
README 文档
README
A silverstripe database seeder that utilizes Fixtures to generate DataObjects. Seeders can be used to quickly generate site structure, populate blog articles, fill in page content, etc...
Installation
composer require werkbot/werkbot-seeder
Requirements
- Silverstripe ^4.0
Setup
- You will need to run
/dev/build - You must be in development or test mode (
SS_ENVIRONMENT_TYPE="dev"). Be aware that the records generated by these seeders are added directly to your current database; they are not added to a fresh test database. - You may now run seeder tasks in your web browser from
/dev/Tasks - You may run seeder tasks through the command line as well
vendor/silverstripe/framework/sake dev/tasks/Werkbot-Seeder-SeederBuildTask
Usage
Documentation
Generate documentation using Doctum:
./vendor/bin/doctum.php update doctum.config.php
View the api documentation:
start doctum_build/index.html
统计信息
- 总下载量: 1.91k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-04-08