0

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.

2
2

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

1

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.