dimanche 26 mai 2019

The "-controller" option does not exist in Laravel

In Laravel5 i am trying to create Model in Model folder with migration,controller and resource by using below command

$ php artisan make:model "Http/Model/Course" -mcr

Or

$ php artisan make:model "Http/Model/Course" -crm

The command works fine if i use simple command i.e.

$ php artisan make:model Course -mcr

but if i change the path of Model folder it gives error

[Symfony\Component\Console\Exception\RuntimeException]
The "-c" option does not exist.

Kindly help me in that.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire