composer basic commands code example
Example 1: composer update
php composer.phar update
Example 2: composer install without dependencies
composer install --ignore-platform-reqs
Example 3: composer add package
composer require name-of-package