Home  >  Article  >  Operation and Maintenance  >  How is Composer installed?

How is Composer installed?

零下一度
零下一度Original
2017-06-23 11:09:021487browse

composer Install

Official website

Composer is a tool used by PHP to manage dependency relationships. You can declare the external libraries (libraries) you depend on in your project, and Composer will install these dependent library files for you.

  • The following is a relatively simple method to install

# It’s that simple, just add the picture below
1
2
3
4
##[root@ wuguiyunwei /]# wget :8000/source/compose
##[
root@wuguiyunwei /]# mv composer.phar /usr/bin/composer ##[
root
@wuguiyunwei / ]# chmod +x /usr/bin/composer## [root
@
wuguiyunwei /]# ln -s /usr/local/php/bin/php /usr/bin/php

The above is the detailed content of How is Composer installed?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn