Using the Laravel seeder with a Factory code example Example: laravel make seeder php artisan make:seeder NameOfTheSeeder