Score:0

What's the best way to migrate from manual upgrades to composer updates?

cn flag

I have an 8.9.19 installation that I would like to move over to use composer.

What's the best way to migrate the installation to use composer upgrades? Manual installations are becoming a real pain.

Kevin avatar
in flag
You need to use the Composerizer project. https://github.com/grasmash/composerize-drupal
cn flag
That does it. Please post that as an answer when you can so I may mark it solved by you.
Score:2
in flag

The most common way to 'flip' a project from not having Composer managed dependencies to being managed by Composer is to use the Composerize project: https://github.com/grasmash/composerize-drupal

Score:1
cn flag

I wouldn't say there is a most common way. Drupal is by default now composer ready since it introduced two project templates of its own. The answer depends on the specific requirements. If you want to switch between different composer templates it's also no problem to start a new composer project, require the packages of the installed modules and then move database and files directory from the old to the new installation.

See https://www.drupal.org/docs/develop/using-composer/starting-a-site-using-drupal-composer-project-templates

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.