Php--composer 1, installation and use

Source: Internet
Author: User

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

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.