About Laravel-Error executing PHP artisan Make:model

Source: Internet
Author: User
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?

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.