Home > Backend Development > PHP Tutorial > Composer introductory tutorial--first introduction to composer1

Composer introductory tutorial--first introduction to composer1

WBOY
Release: 2016-07-28 08:26:37
Original
993 people have browsed it

Introduction to

composer

composer is a dependency management tool for PHP. It is not a package manager. It allows developers to declare the code libraries that the project depends on, and it will install them in the project.

Why use composer

Consider the following scenario

If a project is developed by yourself alone, you know exactly what libraries need to be introduced. At this time, if a new colleague joins the project to develop together, you tell him to introduce it Which library? At this time, you may encounter problems such as inconsistent version libraries, inconsistent storage locations, inconvenient introduction of dependent libraries, etc. If the project continues to increase manpower and the project needs to be spread to other members, the above problems will be encountered repeatedly when introducing dependent libraries.

composer very well solves the problems in the above scenarios. When developing a project, you only need to declare the things that the project depends on. composer will find out which version of the package needs to be installed and download them to the project middle.

').addClass('pre-numbering').hide(); $(this).addClass('has-numbering').parent().append($numbering); for (i = 1; i ').text(i)); }; $numbering.fadeIn(1700); }); });

The above introduces the composer introductory tutorial - first introduction to composer1, including the content. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template