I'm trying to create a resource controller by executing the following command
php artisan controller:make ImageController
but I'm having this error
[Symfony\Component\Console\Exception\CommandNotFoundException]
There are no commands defined in the "controller" namespace.
What is wrong?
Its a small mistake.
Change your code from:
php artisan controller:make ImageController
to
php artisan make:controller ImageController
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With