create composer project code example
Example 1: upgrade composer version
composer self-update
Example 2: update packages composer global
composer global update
Example 3: composer update
php composer.phar update
Example 4: composer add package
composer require name-of-package
Example 5: composer install package with specific version
composer require PACKAGE_NAME "PACKAGE_VERSION"