run a seeder class in laravel code example Example: laravel run seeder php artisan migrate:fresh --seed