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
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!