The following tutorial column of composer will introduce to you how to use a picture to understand the function and basic principles of composer. I hope it will be helpful to friends in need!
Introduction to the role and basic principles of composer
composer is an overall management tool for third-party code libraries, such as yum on centos. It is convenient to install various versions of software. Composer is used to facilitate us to download and update third-party code libraries of specified versions (such as smarty).
The basic working principle is as shown in the picture below. A more detailed explanation is here http ://www.phpcomposer.com/
(packagist will also store some versions of the code on github as a cache to save the trouble of requesting to download github files)
The above is the detailed content of A picture to understand the role and basic principles of composer. For more information, please follow other related articles on the PHP Chinese website!