定制 olsgreen/sheet-faker 二次开发

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

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

olsgreen/sheet-faker

Composer 安装命令:

composer create-project olsgreen/sheet-faker

包简介

CSV / XLS / ODS dummy data generator.

README 文档

README

#Sheet Faker As it says on the tin, Sheet Faker allows you to efficiently create large CSV, ODS & XLSX files containing fake / test data.

Credit to the Faker package which is used to generate the data and Box's Sprout to create the files.

Usage

# Install via composer
composer create-project olsgreen/sheet-faker

cd sheet-faker

# Run
./faker generate csv

Not got composer installed? See here.

Arguments & Options

  • format - CSV, ODS or XLSX
  • path - Fully qualified writable path to save the file.
  • --locale - The desired locale of the test data see here for a list of available locales.
  • --rows - The number of rows to generate.
  • --columns - A comma separated list of columns specified using Faker formatter names see here for a full list of possible data types.

Example:

./faker generate csv /data/my.csv --rows=1000 --columns=firstName,lastName,email --locale=fr_FR

The CSV file generated would be saved to /data/my.csv, have the column headers of First Name, Last Name & Email and contain 1000 rows of fake data based on French locale.

License

Released under the MIT Licence. See the bundled LICENSE file for details.

统计信息

  • 总下载量: 49
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-11-28

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固