use all seeder laravel code example
Example 1: eloquent run seeder
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