What is composer in PHP for?

Source: Internet
Author: User
What does this package manager mainly do in the project? What libraries are used for versioning or for updating projects?
Or a description of the invocation relationship used for each module in your project?
Anyway, who's going to talk about this? Functional use of the package Manager

Reply content:

What does this package manager mainly do in the project? What libraries are used for versioning or for updating projects?
Or a description of the invocation relationship used for each module in your project?
Anyway, who's going to talk about this? Functional use of the package Manager

http://www.phpcomposer.com/

This involves the concept of a package.
There are actually many parts of our program,
In the accumulation of development, it will be found that the code is repeated common,
A part of the smart programmers pulled this part out,
Encapsulates classes to form a class tool that can be used directly,
These tool classes slowly form the package.

These packages are started to be downloaded on the Internet.
But no unified management system has been formed,
Smart Phper borrowed from Pip and Gem's package management approach,
Produced a composer to talk about scattered packages of unified management,
Version control functions are also available.

Simply put, composer is a package version control tool.

I didn't see it either. A little stupid. Search answers are very official things, in fact, someone can tell me this thing in the project when the role of what, there is no difference between him, I find it easier to understand.

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