Laravel migrate and seed in one command

Tobi Muhammad
Mar 11 · 1 min read

Trick when you want to migrate your database and immediately seed it, Artisan provides you with the option!

php artisan migrate --seed

Tobi Muhammad

Written by

Web and Mobile Developer. Open source enthusiast.