dipsor / csv-faker
Creates fake csv files with dummy data.
Installs: 11
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:HTML
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: 2025-04-07 10:20:49 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.