-
Notifications
You must be signed in to change notification settings - Fork 0
MVC Help
jonzenor edited this page Jan 1, 2020
·
1 revision
Create the model and migration file. The name of this is singular, but the name of the table will usually be plural (users table, not user table).
php artisan make:model User --migration
Create just a migration file.
php artisan make:migration name_of_migration_file
Create the controller, with filled in basic CRUD resources. Note the name is singular
php artisan make:controller UserController --resource