michielroos / typo3migrate
TYPO3 Migration Tools
Installs: 3 636
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 1
Open Issues: 0
Type:project
Requires
- php: ^5.6 || ^7.0
- symfony/console: ^2.7 || ^2.8 || ^3.4
- symfony/filesystem: 2.7 || ^2.8 || ^3.4
- symfony/finder: 2.7 || ^2.8 || ^3.4
Requires (Dev)
- phpunit/phpunit: ^5
- roave/security-advisories: dev-master
README
Tools for migrating TYPO3 sites
Are TYPO3 migration tools helping you to migrate your TYPO3 site more smoothly?
Then please consider a sponsorship so I can make this tool even more awesome!
Thank you! ♥
Requirements
The tool requires PHP 5.6 or higher to run.
Installation
Download the latest version from: https://github.com/Tuurlijk/typo3migrate/releases
Or install using composer (skip the init step if you're installing it into an existing project):
composer init
composer require --update-no-dev "michielroos/typo3migrate:*"
Usage
Current tools:
- xml2xlf
- fluidNsToHtml
Convert xml to xlf
Convert a xmllang file to xlf.
php ./typo3migrate.phar xml2xlf ~/tmp/localllang_db.xml
Or all files in a folder:
php ./typo3migrate.phar xml2xlf ~/tmp/Language
Convert old Fluid namespaces
Convert old Fluid namespaces {brace style} to html tag with attributes.
{namespace f=TYPO3\CMS\Fluid\ViewHelpers} <section> </section>
Will become:
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true"> <section> </section> </html>
Convert a single file:
php ./typo3migrate.phar fluidNsToHtml ~/tmp/Template.html
Or all files in a folder:
php ./typo3migrate.phar fluidNsToHtml ~/tmp/Templates/