create composer.json code example
Example 1: composer check package version
composer show package/name
Example 2: php composer update
php composer.phar update
Example 3: composer add package
composer require name-of-package
composer show package/name
php composer.phar update
composer require name-of-package