Use the option --with-all-dependencies (-W) to allow upgrades, code example Example: composer update php composer.phar update