Monday, April 3, 2017

Laravel 5.4 crate model, controller and migration in single artisan command

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

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

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



via arun

Advertisement