toumoro / tm-migration
TYPO3 extension that brings together the tools used for a major TYPO3 migration.
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:typo3-cms-extension
Requires
- php: >=8.1
- a9f/typo3-fractor: *
- ssch/typo3-rector: *
- typo3/cms-core: ^12.4.0 || ^13.4.0
- wapplersystems/core-upgrader: *
Replaces
- typo3-ter/tm-migration: dev-main
This package is not auto-updated.
Last update: 2025-06-14 12:19:37 UTC
README
TYPO3 extension that brings together essential tools for major TYPO3 migrations.
đ Features
â Dependencies
This extension relies on:
typo3-fractor
typo3-rector
core-upgrader
đ CLI Commands
Export CTypes and List Types
Export CType
and list_type
values to JSON or CSV:
vendor/bin/typo3 export:types -t [FILE_TYPE] -m [FILE_NAME]
Example:
vendor/bin/typo3 export:types -t csv -m types.csv
Fix duplicate MM relations
Clean up duplicate entries in MM relation tables (e.g. sys_category_record_mm
):
vendor/bin/typo3 upgrade:fixdatabaseerrors
đ§Š Upgrade Wizards
-
Migrate
list_type
toCType
Upgrade wizard to migratelist_type
plugins toCType
content elements using a configurable mapping array.
The mapping can be customized via thetm_migration
extension settings. -
Clean log table
Upgrade wizard to delete or truncate entries fromsys_log
based on the retention period set in the extension settings. -
Migrate grid elements to container
Upgrade wizard to migrategrid elements
tocontainer
content elements.
âī¸ Rector & Fractor Configurations
Sample Rector and Fractor configurations are provided in:
packages/tm_migration/Resources/Private/Config
To copy them into your project:
cp packages/tm_migration/Resources/Private/Config/* YOUR_TARGET_DIRECTORY/
đ Dry Runs (Simulations)
Before applying automatic fixes, you can run Rector and Fractor in dry-run mode to preview changes:
Run Rector dry-run:
vendor/bin/rector process --debug --dry-run 2>&1 | tee rector-dryrun.txt
Run Fractor dry-run:
vendor/bin/fractor process --dry-run 2>&1 | tee fractor-dryrun.txt
⥠Apply automatic fixes
When ready, apply the code modifications:
vendor/bin/rector process --debug vendor/bin/fractor process
âšī¸ Tip:
Using--debug
with Rector avoids issues caused by parallel processing.