The Laravel Artisan Cheatsheet
A searchable, bookmarkable cheatsheet for
Laravel's
Artisan commands.
Home
ArtisanGPT
API
Laravel Version
7.x
db:seed
🖥
db:seed
Seed the database with records
Options
class
- The class name of the root seeder
Optional
database
- The database connection to seed
Optional
force
- Force the operation to run when in production
Optional
php artisan db:seed [--class [CLASS]] [--database [DATABASE]] [--force]
Click to copy