creative-collisions-limited/iseed
Composer 安装命令:
composer require creative-collisions-limited/iseed
包简介
Generate a new Laravel database seed file based on data from the existing database table.
README 文档
README
Inverse seed generator (iSeed) is a Laravel Lumen package that provides a method to generate a new seed file based on data from the existing database table. This project is based on orangehill/iseed, all credits to them.
Installation
1. Require with Composer
composer require creative-collisions-limited/iseed
2. Add Service Provider
// '/bootstrap/app.php' $app->register(CreativeCollisionsLimited\Iseed\IseedServiceProvider::class);
Artisan command options
[table_name]
Mandatory parameter which defines which table/s will be used for seed creation. Use CSV notation for multiple tables. Seed file will be generated for each table.
Examples:
php artisan iseed my_table
php artisan iseed my_table,another_table
统计信息
- 总下载量: 3.37k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-2-Clause
- 更新时间: 2021-04-22