composer upgrade package json code example
Example 1: composer install without dependencies
composer install --ignore-platform-reqs
Example 2: composer update
php composer.phar update
composer install --ignore-platform-reqs
php composer.phar update