In this video, we will see how to install composer in ubuntu.
Composer is a PHP dependency management tool. You can declare the libraries that your project depends on and install (update/manage) them for you.
#composer
Commands:
To Install Php:
$ sudo apt install php
To Check Php version Installed:
$ php -v
To Install Composer Package:
$ curl -Ss https://getcomposer.org/installer | php
To move the file into bin directory
$ sudo mv composer.phar /usr/local/bin/composer
To make the file exectuable
$ chmod +x /usr/local/bin/composer
To make the composer auto update
$ sudo composer self -update
Please like and Comment to support.
Thanks for watching