0
I’m using Composer to generate my PHP files and other things. I think it makes programming much easier.
For example, to generate a Controller I do so:
php artisan controller:make NomeController
Works!
But when typing:
php artisan make:model NomeModel
It does not work and presents this error:
There are no Commands defined in the "make" namespace.
I searched, but found nothing. And I realized that just typing php artisan
- in which it displays a list of existing commands - the model really doesn’t exist.
What to do ?
I did it this way too and it didn’t work. So I did this listing and there’s nothing with Model.
– Diego Souza
@Diegosouza I made an edition that can help you
– Otto
It worked very well this library. When creating the Model, it puts a / before the word Eloquent. It is normal that ?
– Diego Souza
normal yes no problem
– Otto
All right, then. Thank you, Bro.
– Diego Souza