Switch to composer mode in running instance
Migrating TYPO3 from Classic Mode to Composer Mode requires at least the following steps:
- Write down the current version of TYPO3 and all extensions
- Remove all embedded TYPO3 and extension code incl. Git submodules
- Add a Composer manifest
- Add the Composer
vendor-dir
(andbin-dir
if custom) to your.gitignore
Require TYPO3 and all extensions with the versions and
--prefer-lowest
, e.g.composer require typo3/cms:^8.7.7 --prefer-lowest
This ensures that you don't accidentally perform updates before completing the switch.
Since no further changes to user files or database data is required you will be running TYPO3 in Composer Mode now.
Afterward you will most likely also need to adapt your deployment workflow to ensure at least one composer install
is executed after deploying a new version.