This tutorial will help you to install PHP Composer on CentOS, RHEL & Fedora operating systems. We are assuming that you already have installed PHP on your system.
Install Composer
To install php composer on Redhat based systems. We just need to download composer executable and put under bin directory.$ curl -sS https://getcomposer.org/installer | phpNow use the following commands to make composer available globally for all users in your system, which can be used for all php applications on that system.
$ mv composer.phar /usr/local/bin/composer $ chmod +x /usr/local/bin/composerTo find version of composer simply use following command.
# composer -V Composer version 1.2.1 2016-09-12 11:27:19
Comments
Post a Comment