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