What does composer mean?
composer in Chinese means creator, composer, designer; and usually, what we call composer is a dependency management tool for PHP; we can declare dependencies in the project For external tool libraries, Composer will help you install these dependent library files. With it, we can easily use one command to reference other people's excellent code into our project.
Recommended: [composer tutorial]
To put it bluntly, it is actually a tool that can help us manage dependencies. We only need to follow a certain format to declare which libraries, versions, etc. the project depends on (create a composer.json file), and Composer can find out which version of the package needs to be installed and install them.
Composer is not installed globally by default, but is installed based on a directory of a specified project (such as vendor).
Composer requires PHP 5.3.2 or above, and openssl needs to be turned on.
Composer can run on Windows, Linux and OSX platforms.
The above is the detailed content of What does composer mean?. For more information, please follow other related articles on the PHP Chinese website!