how to edit composer.json code example
Example 1: composer clear cache
$ composer clearcache
Example 2: composer update
php composer.phar update
Example 3: composer add package
composer require name-of-package
$ composer clearcache
php composer.phar update
composer require name-of-package