laravel 8 command to create a seeder class code example
Example 1: laravel make seeder
php artisan make:seeder NameOfTheSeeder
Example 2: laravel run seeder
php artisan migrate:fresh --seed
php artisan make:seeder NameOfTheSeeder
php artisan migrate:fresh --seed