PHP Composer Ubuntu 16.04 Install
Hi! This Short Tutorial shows you Step-by-step How to Install PHP Composer on Ubuntu 16.04 Xenial LTS GNU/Linux.
And Composer for Ubuntu 16.04 is a tool for dependency management in PHP. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you.
Because Composer Manages Packages or Libraries on a Per-Project Basis, Installing them in a Directory Inside your Project.
-
Open a Shell session
Ctrl+Alt+t on Desktop
(Press “Enter” to Execute Commands)In case first see: Terminal QuickStart Guide.
-
Downloading PHP Composer Binary
-
Relocating Composer.
sudo mv ~/Downloads/composer.phar /usr/local/bin/composer
-
Fixing Composer Ownership.
sudo chown root:root /usr/local/bin/composer
-
Testing Composer Installation.
composer -V
The Command will Shows up the Composer Version…
-
How to Getting-Started with Composer on Ubuntu