drupal 8 upgrade with composer code example Example: drupal composer update composer update drupal/core 'drupal/core-*' --with-all-dependencies