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.