| Viewed 25 times

How to generate a model, migration, and controller in laravel

its Take a lot of time when I use 3 requests each time one for model one for migration and one for the controller

1 Answer
Mohammad Qandeel

Yes, there is a very easy way to do that.

You may use the artisan command to make the model, migration and the controller in a single line command

PHP artisan make:model News -mc

Related Questions