Composer Introductory Tutorial--A preliminary knowledge of Composer1

Source: Internet
Author: User
Composer Introduction

Composer is a dependency management tool for PHP, and it is not a package manager, it allows developers to declare the code base that the project depends on, and it installs them in the project.

Why to use composer

Consider the following scenario

If a project is developed on its own, it is clear what libraries need to be introduced, and if a new colleague joins the project and you tell him what library to introduce, you may encounter issues such as repository inconsistency, inconsistent storage location, and inconvenient library introduction. If the project continues to increase staffing and the project needs to be disseminated to other members, the problem will be repeated when the dependency library is introduced.

Composer is a good solution to the problem of the above scenario, in the project development only need to declare what the project depends on, composer will find out which version of the package needs to be installed, and download them to the project.

'). addclass (' pre-numbering '). Hide (); $ (this). addclass (' has-numbering '). Parent (). append ($numbering); for (i = 1; i <= lines; i++) {$numbering. Append ($ ('

  • '). Text (i)); }; $numbering. FadeIn (1700); }); });

    The above describes the composer introductory tutorial-the first knowledge of composer1, including the aspects of the content, I hope to be interested in PHP tutorial friends helpful.

  • 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.