How To Install PHP Composer on Ubuntu 20.04 LTS

How To Install PHP Composer on Ubuntu
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

Popular posts from this blog

Failed to establish the VPN connection. This may be caused by a mismatch in the TLS version.

To make SSL VPN connection work, please turn off IE security configuration | vetechno

How to install Mysql 8.0.29 on Ubuntu 22.04 LTS | vetechno