$ ./artisan make
What command are you running?:
...
> model
Model Name (Example: Posts):
> Chairs
Do you want to make a migration for this model? (yes/no) [no]:
> yes
Do you want to make a controller for this model? (yes/no) [no]:
> yes
Is this controller a resourceful controller? (yes/no) [no]:
> yes
Model created successfully.
Running git status shows the following:
app/Chairs.php
Running the command manually:
./artisan make:model Chairs --migration --controller --resource
Model created successfully.
Created Migration: 2017_05_04_133413_create_chairs_table
Controller created successfully.
Running
git status
shows the following:Running the command manually:
Now, running
git status
shows the following:I'm running Laravel 5.4.21.