In Laravel, for a model named let's say
The usual way I make all three is:
1- make the migration $php artisan make:migration create_products
2- make the model $php artisan make:model Product
3- make the conroller $php artisan make:controller ProductsController -m=Product
This works as expected. But when I check the artisan make:model command, I can see that it can create the migration and the controller in one shot. So I tried
$php artisan make:model Product --controller --migration -r
The problem is with this, is that the controller name is wrong, it's ProductController (singular) instead of ProductsController (plural form).
Am I wrong with using this command? or is the controller created with this command intended to be different from the one we create with make:controller ???