how to run a seeder in laravel codebase code example
Example 1: laravel run seeder
php artisan migrate:fresh --seed
Example 2: laravel 8 seeding
php artisan make:seeder UserSeeder
php artisan migrate:fresh --seed
php artisan make:seeder UserSeeder