laravel run a specific seeder code example
Example 1: how to run specific seeder in laravel
php artisan db:seed --class=UserSeeder
Example 2: laravel run seeder
php artisan migrate:fresh --seed
php artisan db:seed --class=UserSeeder
php artisan migrate:fresh --seed