Composer Installation (optional but recommended)

Once you have procured a Domain Name & Web Hosting or Configured your own Server first step is to login to the Server using SSH/Terminal and install Composer

Composer : Composer or i will term it as a Swiss Knife for dependency management for PHP projects, allows to define the libraries a project requires and helps in installing/updating via a command line utility.

Note : You can install this Utility only if you have SSH Access to the Web Server.

Composer is deployed as a PHP Archive (PHAR) file, to check if phar is enabled on your server use the following command

[]$ php -m | grep Phar

Composer is generally not installed on any server by default you may install Composer using the following commands

[]$ mkdir -p ~/.php/composer

[]$ cd ~/.php/composer

[]$ curl -sS | php

[]$ mv ~/.php/composer/composer.phar ~/.php/composer/composer

[]$ export PATH=/home/username/.php/composer:$PATH

[]$. source ~/.bash_profile

This completes installation of composer for the current user, to test that the installation is successful  use the following command

[]$ composer

This will should the composer help/man page, once you see the man/help page your swiss knife is ready for operation.