2017 © Pedro Peláez
 

project sheet-faker

CSV / XLS / ODS dummy data generator.

image

olsgreen/sheet-faker

CSV / XLS / ODS dummy data generator.

  • Saturday, November 28, 2015
  • by olsgreen
  • Repository
  • 1 Watchers
  • 1 Stars
  • 35 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 3 % Grown

The README.md

Sheet Faker

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

Credit to the Faker package which is used to generate the data and Box's Sprout to create the files., (*2)

Usage

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

cd sheet-faker

# Run
./faker generate csv

Not got composer installed? See here., (*3)

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, (*4)

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., (*5)

License

Released under the MIT Licence. See the bundled LICENSE file for details., (*6)

The Versions

28/11 2015

dev-master

9999999-dev

CSV / XLS / ODS dummy data generator.

  Sources   Download

MIT

The Requires

 

The Development Requires

test csv xls data seeder ods dummy fake

28/11 2015

0.1.0

0.1.0.0

CSV / XLS / ODS dummy data generator.

  Sources   Download

MIT

The Requires

 

The Development Requires

test csv xls data seeder ods dummy fake