dipsor / csv-faker
Creates fake csv files with dummy data.
dev-master
2019-11-06 22:15 UTC
Requires
- fzaninotto/faker: ^1.4
- league/csv: ^9.1
Requires (Dev)
- laravel/framework: 5.7.*
- phpunit/phpunit: 7.0.*
This package is auto-updated.
Last update: 2026-03-07 12:28:19 UTC
README
Creates commands for laravel.
csv:faker:new // uses default option --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.