📅  最后修改于: 2022-03-11 14:54:00.730000             🧑  作者: Mango
let's see simple example:
you can use following command to all seeders in laravel application:
***************************
php artisan db:seed
***************************
you have to register all seeder in DatabaseSeeder.php file and that will run all seeders at a time, register as like bellow:
database/seeders/DatabaseSeeder.php
call([
UserSeeder::class
AdminSeeder::class
]);
}
}