Install Packages from Composer

Steps to Install Packages from Composer
1. Download Composer
curl -sS https://getcomposer.org/installer | php

2. Install the Composer File
php composer.phar install

3. Now search and add the package from the URL
https://packagist.org

4. Add the package name to Composer.json
"require": {
"bobthecow/mustache-bundle" : "1.2.0"
}
OR
You can also add the package by below command
php composer.phar require bobthecow/mustache-bundle

5. Update the composer
php composer.phar update