How To Install PHP Composer on Ubuntu 20.04 LTS
![]() |
How To Install PHP Composer on Ubuntu |
This tutorial will help you how to install and configure the PHP composer on Ubuntu 20.04 LTS, Ubuntu 18.04 LTS and Ubuntu 16.04 LTS. Composer is an application-level package manager for the PHP programming language. It provides a standard format for managing dependencies of PHP software and required libraries. It define required libraries for our project and install it with the composer in the single command
Prerequisites
- Open Terminal in sudo privilege.
- PHP must be installed and configured, version 5.3 or higher.
- Ubuntu should be updated.
Install Composer on Ubuntu
Just copy and paste below commands to install composer on Ubuntu System .
curl -sS https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composer
chmod +x /usr/local/bin/composer
composer --version
PHP composer has been successfully install on your Ubuntu system. Type composer at the command prompt. This will provide you detailed composer version along with options available with composer command.
Please let me know if you have any questions or comments on this post.
Comments
Post a Comment