Composer init json code example
Example 1: composer clear cache
$ composer clearcache
Example 2: composer install package with specific version
composer require PACKAGE_NAME "PACKAGE_VERSION"
$ composer clearcache
composer require PACKAGE_NAME "PACKAGE_VERSION"