michielroos/typo3migrate

TYPO3 Migration Tools

Installs: 3 635

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 2

Forks: 1

Open Issues: 0

Type:project

1.4.1 2018-12-23 18:18 UTC

This package is auto-updated.

Last update: 2024-05-24 05:48:46 UTC


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/