Professional Documents
Culture Documents
(https://cloudwafer.com/)
Composer is not a package manager in the same sense as Yum or Apt is. Although it deals with
"packages" or libraries, it manages them on a per-project basis, installing them in a directory
(e.g. vendor) inside your project. By default, it does not install anything globally. Thus, it is a
dependency manager.
Once you have signed up, log into your Cloudwafer Client Area (https://my.cloudwafer.com/?
cmd=login) with the password provided in your mail and deploy your Cloudwafer
(https://cloudwafer.com) cloud server.
https://cloudwafer.com/blog/installing-php-composer-on-centos-7/ 1/5
2/1/2021 Installing PHP Composer on CentOS 7
Next, install the PHP Command Line Interface package and other dependencies by issuing the
command below:
After installing the PHP CLI package, proceed to download the Composer installer script by
issuing the command below:
We can verify the data integrity of the downloaded script by comparing the script SHA-384 hash
with the latest installer hash found on the Composer Public Keys/Signatures page.
Next, issue the command below to verify that the installation script is not corrupted run the
following command:
Lastly, we can now issue the following command to install Composer in the /usr/local/bin
directory:
https://cloudwafer.com/blog/installing-php-composer-on-centos-7/ 2/5
2/1/2021 Installing PHP Composer on CentOS 7
(https://cloudwafer.com/)
You can also issue the command "composer" to print Composer’s version, commands, and
arguments as shown below:
You can read the o cial Composer documentation (https://getcomposer.org/doc/) for more
information on Composer.
(/blog/author/cloudwaferhq/)
CloudwaferHQ (/blog/author/cloudwaferhq/)
(https://cloudwafer.com/blog/) (https://twitter.com/cloudwaferhq)
(https://www.facebook.com/cloudwafer)
(https://cloudwafer com/blog/installing-apache-maven-on-centos-7/)
https://cloudwafer.com/blog/installing-php-composer-on-centos-7/ 3/5
2/1/2021 Installing PHP Composer on CentOS 7
(https://cloudwafer.com/blog/installing-apache-maven-on-centos-7/)
(https://cloudwafer.com/)
CENTOS 7 (/BLOG/TAG/CENTOS-7/) APACHE MAVEN (/BLOG/TAG/APACHE-MAVEN/)
(https://cloudwafer.com/blog/installing-pip-on-centos-7/)
2 years ago • 1 comment 2 years ago • 2 comments a year ago • 1 comment 2 years ago • 2
Benefits of Cloud Installing Angular on Install Python on Debian 9 cockpit on ce
Computing For Small Ubuntu 16.04/18.04 how to
Businesses in Nigeria … install angular on …
LOG IN WITH
OR SIGN UP WITH DISQUS ?
Name
https://cloudwafer.com/blog/installing-php-composer-on-centos-7/ 4/5
2/1/2021 Installing PHP Composer on CentOS 7
COMPANY
Home (https://cloudwafer.com/)
(https://cloudwafer.com/)
About Us (https://cloudwafer.com/about)
Referral Program (https://my.cloudwafer.com/a liates/)
Network Status (https://status.cloudwafer.com/)
HOSTING PRODUCTS
SUPPORT
Knowledgebase (https://my.cloudwafer.com/knowledgebase/)
Contact Sales (https://my.cloudwafer.com/tickets/new/)
Submit a Ticket (https://my.cloudwafer.com/tickets/new/)
SUBSCRIBE
Cloudwafer Blog (https://cloudwafer.com/blog) © 2021. High Performance Cloud Hosting by https://cloudwafer.com (https://cloudwafer.com)
https://cloudwafer.com/blog/installing-php-composer-on-centos-7/ 5/5