Problem:
After executing PHP artisan Make:model article
Command "Make:model" is not defined.
Then execute PHP artisan and find only one line below the Make command line
Make make:migration Create a new migration file
What to do?
Workaround:
There are problems with updating dependencies, for various reasons, it may be that you manually or some network problems cause the process of updating the script to terminate, or it may be mirroring problems. We use 7, 8 sub-projects to laravel, this problem occasionally, basically some improper operation caused, I also helped to solve many times
_ (: З"∠) _
Solve the time, first composer ClearCache cleanup package, warehouse cache, and then use composer Update, if not effective, delete the vendor directory re-install it.
Composer Update under the latest
Related articles:
The PHP artisan command for Laravel is not available?
Laravel Artisan Command
Why is PHP artisan make:console sendemails not found in the list list?