Laravel Run Samen
#All of them
php artisan db:seed
#One class
php artisan db:seed --class=UserSeeder
Eranot
#All of them
php artisan db:seed
#One class
php artisan db:seed --class=UserSeeder
php artisan db:seed --class=UserSeeder
php artisan db:seed --class=NameOfSeeder
php artisan migrate:fresh --seed
php artisan make:seeder NameOfTheSeeder
#Laravel 8
#Seed one class only
php artisan db:seed ClassName
#Seed all classes on main seeder class (usually database/seeders/DatabaseSeeder.php)
php artisan db:seed
#migrate fresh tables with all seeders
php artisan migrate:fresh --seed
#migrate fresh with one seeder
php artisan migrate:fresh --seed SeederClassName