generate composer.json file code example
Example 1: php composer update
php composer.phar update
Example 2: composer add package
composer require name-of-package
Example 3: composer install package with specific version
composer require PACKAGE_NAME "PACKAGE_VERSION"