Update modules and core via composer in Drupal 8/9

If the kernel update in versions 8 and 9 is done exclusively through composer, then you can install or update modules through the admin panel, which is not welcome and it is advisable to do it also through composer. This can be done with the following command

composer update --with-dependencies

This command updates all modules with dependencies. After executing the command, you need to start the database update by going to the update page

//yoursite/update.php

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.
The comment language code.