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