a9f/typo3-fractor
Automate TYPO3 upgrades by refactoring not only PHP but also TypoScript, YAML, and Fluid templates. Built as an enhancement to TYPO3-Rector, run Fractor with configurable rule sets and dry-run support to review safe, version-controlled migrations.
composer require installation with dev-only scope (recommended for migration tools).fractor.php config file, which is minimal but mandatory—aligns with Laravel’s structured dependency management.--dry-run mode mitigates risk, but manual review is still required before production deployment.Typo3LevelSetList::UP_TO_TYPO3_14) are TYPO3-version-specific, risking breakage if applied incorrectly.UP_TO_TYPO3_14).composer require a9f/typo3-fractor --dev
fractor.php with target paths and TYPO3 version rules.return FractorConfiguration::configure()
->withPaths([base_path('typo3/Configuration/')])
->withSets([Typo3LevelSetList::UP_TO_TYPO3_11]);
vendor/bin/fractor process --dry-run
vendor/bin/fractor process in a staging environment first.UP_TO_TYPO3_14 won’t work for TYPO3 v12).Configuration/ folder).fractor.php may need updates if file paths or rules change.- name: Run Fractor Dry-Run
run: vendor/bin/fractor process --dry-run
| Failure Scenario | Impact | Mitigation |
|---|---|---|
| Incorrect TYPO3 version rules | Breaks TypoScript/Fluid templates | Use --dry-run + manual review |
| Uncommitted changes in production | Site downtime | Never run in prod; use feature flags |
| Rule conflicts with custom code | Unexpected behavior | Test in staging; exclude custom files |
| Composer dependency conflicts | Installation fails | Isolate in --dev; check PHP version |
| XML/YAML parsing errors | Migration halts | Validate files pre-migration |
How can I help you explore Laravel packages today?