PURPOSE
- used to fill database tables with dummy or default data, typically right after creating the table through a database migration
USAGE
php artisan make:seeder WidgetsTableSeeder Description: Create a new seeder class Usage: make:seeder <name> Arguments: name The name of the class Options: -h, --help Display this help message -q, --quiet Do not output any message -V, --version Display this application version --ansi Force ANSI output --no-ansi Disable ANSI output -n, --no-interaction Do not ask any interactive question --env[=ENV] The environment the command should run under -v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
PARAMETERS
OUTPUT
in folder database\seeds\
database\seeds\WidgetsTableSeeder.php
Reference: https://laravel.com/docs/6.x/seeding