Laravel – create model, controller and migration in single artisan command

I can create a model and resource controller (binded to model) with the following command

php artisan make:controller TodoController --resource --model=Todo

I want to also create a migration with the above command, is it possible?

15 Answers
15

Leave a Comment