Monday, February 27, 2017

[SOLVED]Is there a command in Laravel that can create a migration, model and controller in 1 artisan command?

The main question is in the title already.
I am using Laravel 5.4 right now, is there something like
php artisan make:model Category --migrations --controller

and can generate :
create_categories_table.php [migration]
Category.php [model]
CategoryController


from Latest question asked on Laravel tag.


via Vahn Marty

Advertisement