php artisan make:migrate --seed code example Example: laravel migration seed fresh php artisan migrate:fresh --seed