Composer is a tool used in PHP to manage dependency (dependency) relationships. You can declare your dependencies on the External tool Library (libraries) in your project, and composer will help you install these dependent library files.
System Requirements
Running Composer requires PHP 5.3.2+ or later. Some sensitive PHP settings and compilation flags are also required, but a warning is thrown for any incompatible installation program.
Instead of simply downloading the zip file, we'll install it directly from the package's source, and you'll need git, svn, or HG, depending on the version management system you're loading the package with.
Composer is multi-platform, and we strive to make it work as well on Windows, Linux and OSX platforms.
installation
[Email protected]:~$ curl-ss https://getcomposer.org/installer|/usr/local/php/bin/php#!/usr/bin/Envphpall Settings Correct forusing Composerdownloading...composer successfully installed to:/home/timeless/composer.pharuse it:php composer.phar[email protected]-hp-pavilion-g4-notebook-pc:~$MVcomposer.phar/usr/local/bin/composer/*You can put this file anywhere. If you put it in the PATH directory of the system, you will be able to access it globally. In Unix-like systems, you can even use PHP without a prefix. You can execute these commands to let composer make a global call on your system:*/Curl-ss https://Getcomposer.org/installer | phpMVComposer.phar/usr/local/bin/composer//Now only need to run composer
command to use Composer without the need to enter php composer.phar
。
For the time being here
Php--composer 1, installation and use