Artisan Make Model with Migration
Generates a Model with -m (migration), -c (controller), -f (factory), -s (seeder) flags. -a generates all of these at once.
When you need this: When creating a new database table and its associated Eloquent model.
Variables
Command
2 views
0 copies
Related in this category
Log in to save
Free account — save snippets into your own collections.