laravel 7 db seed example
Example 1: laravel make seeder
php artisan make:seeder NameOfTheSeeder
Example 2: laravel 8 seeding
php artisan db:seed
php artisan db:seed --class=UserSeeder
php artisan make:seeder NameOfTheSeeder
php artisan db:seed
php artisan db:seed --class=UserSeeder