How to Install composer in Ubuntu 18.04

Install composer by entering the following commands in the terminal:

sudo apt update
sudo apt install composer


dependency manager for PHP

Composer helps you declare, manage and install dependencies of PHP projects, ensuring you have the right stack everywhere. . It behaves like Bundler (Ruby), npm (Node), etc.


Version: 1.6.3-1

Section: universe/php