dipsor / csv-faker

创建带有虚拟数据的CSV文件。

安装: 11

依赖项: 0

建议者: 0

安全: 0

星标: 0

关注者: 2

分支: 0

开放性问题: 0

语言:HTML

dev-master 2019-11-06 22:15 UTC

This package is auto-updated.

Last update: 2024-09-07 08:50:15 UTC


README

Build Status codecov

为laravel创建命令。

csv:faker:new // 使用默认选项 --load=a

- User has to interact in the console.

csv:faker:new {--load=s} {filename?} {rows?} {columns?}

- User uses the command with arguments.
- Ex: csv:faker:new {--load=s} table 15 name:firstname,surname:lastname,email:email
    - will create csv file table.csv with 15 rows and 3 columns. 
    - columns need to be in form: columnName:fakerPropertyName.