This project is closed and read-only.

This FLOW3 package is useful to process exisisting PHP 5.3+ based code to another code pase. Concretely we use this for example to keep the Fluid extension shipped with TYPO3 in sync with the corresponding FLOW3 package


  1. Checkout the latest version of this package from the git repository
  2. Create a new FLOW3 package and create a Command that makes use of the provided CodeProcessors (have a look at the Fluid Backporter for an example


class BackporterCommandController extends \TYPO3\FLOW3\Cli\CommandController {

     * @var \TYPO3\Backporter\Backporter
     * @FLOW3\Inject
    protected $backporter;

     * Describe your command
     * @return string
    public function runCommand() {

            // Key of the target extension

            // remove all files from target directory whenever backporter is invoked?

            // global replacements
            'replace' => 'me'

            // file specific replacements
            'Classes/SomeClass.php' => array(
                'replace' => 'me'

            // which files to include for the backport (regular expressions)

            // which files to exclude from backporting (regular expressions)

            // start backporter
        $this->backporter->processFiles('PackagePath', 'ExtensionPath');


Issue tracking

View all issues | Calendar | Gantt



Bastian Waidelich (bwaidelich)
Sebastian Kurfuerst (sebastian)


Christian Kuhn (lolli)