REDAXO 5 → 6

# Moving from REDAXO 5: compare and plan

What is different in REDAXO 6 – and how a project moves across step by step.

 
 
 

 

**In development:** REDAXO 6 is being built in the 6.x branch of redaxo/core. The examples reflect the state of November 2026 – names and details may still change before the release.

REDAXO 6 is not an update you install in the backend. The core has been rebuilt: modules and templates become classes, AddOns come via Composer, the code describes the database. There is no ready-made tool for moving from 5.x yet – so plan it like a move into a new project.

The good news: content, media and YForm data come along. What gets rewritten is mainly code – and it usually gets shorter on the way.

 
 

 

Comparison

## REDAXO 5 and REDAXO 6

The key differences at a glance.

 
 

|  | REDAXO 5 | REDAXO 6 |
| --- | --- | --- |
| Installation | Upload ZIP, setup in the browser | composer create-project, console setup |
| Configuration | config.yml in the data folder | .env: database, mode, mailer |
| Operation | Debug mode and live mode in config.yml | Modes dev, live and hardened via REX_MODE in .env |
| AddOns | Installer: download, install, activate | Composer package = installed and active |
| Updates | In the backend via the installer | composer update and console migrate |
| Database | install.php and update.php per AddOn | install() describes tables, migrations for one-off steps |
| Modules | PHP code in the database, REX_VALUE | Class with #[AsModule], fields as attributes |
| Templates | Code in the database | Class with #[AsTemplate] and content sections |
| Slice data | value1–20, media, link | one data column per slice |
| Languages | one article row per language | article plus translation per language |
| Meta info | Fields created in the backend | Classes with #[AsMetaSchema] |
| Media manager | Types and effects in the backend | Types as classes with #[AsMediaType] |
| Cronjobs | AddOn cronjob in the backend | #[AsCronjob], console cronjob:run |
| Email | AddOn PHPMailer | Symfony Mailer, MAILER_DSN |
| Classes | rex_article, rex_sql … | Redaxo\Core\Content\Article … |
| Backend | Bootstrap 3, be_style | own components, light and dark, CSP |
| Backup | AddOn backup (backend, cronjob) | no backup AddOn: mariadb-dump with console db:connection-options |
| Console | package:install/activate, install:download, config:set | migrate (also :status, :make, :cleanup), content:rebuild-references, mailer:test, system:check |
| Code in Git | partly (developer AddOn) | completely: modules, templates, schema |
|  |  |  |

 
 

As of: branch 6.x of redaxo/core, November 2026.

 
 

 

Plan

## How to plan the move

The REDAXO 5 website stays online until the new one is ready.

 

1. Step 1
   
  ### Take stock
   
  AddOns, modules, templates, meta info, media manager types, cronjobs, YForm tables and own code with rex_ classes and extension points.
2. Step 2
   
  ### Check the AddOns
   
  Is there a version for REDAXO 6? If not: look for a replacement – or check whether YForm or fluid already do the job.
3. Step 3
   
  ### Set up a new project
   
  composer create-project, .env, console setup – in Git from the start.
4. Step 4
   
  ### Rewrite modules and templates
   
  As classes with fields as attributes – or straight away as fluid blocks.
5. Step 5
   
  ### Bring YForm along
   
  Every table becomes a class with fields(). The tables holding the data stay.
6. Step 6
   
  ### Transfer content
   
  Transfer structure, languages and media, map slices to the new fields.
7. Step 7
   
  ### Test and switch
   
  Redirect old addresses to new ones, check the sitemap, deploy with composer and console migrate.

 
 
 

 

Recommendation

## Let an agent do the move

 

A large part of the move is craft with clear rules: rewriting modules and templates as classes, describing YForm tables, transferring content, redirecting addresses. That is exactly what an AI agent (e.g. Claude Code) can do quickly and thoroughly – with you as the reviewer.

- **Give context:** the REDAXO 5 project, a fresh REDAXO 6 project, this page and the guide for agents that the core ships (`AGENTS.md` in redaxo/core).
- **Let it plan first:** take stock, suggest a replacement or YForm/fluid for every AddOn – you decide before any code is written.
- **In small steps, in Git:** one commit per module, template or table. Every step stays traceable and reversible.
- **Compare instead of trusting:** have it fetch all addresses of the old sitemap on both websites and compare the output – the differences are the list of open items.
- **Draw the lines:** let it work locally and on a copy of the data; credentials, servers and publishing stay with you.

 
 

 

Effort

## What is easy – and what takes work

 

- ### YForm: mostly easy
   
  The definition from the table manager becomes a class with fields() and list(). The data tables stay, queries go through the record API.
   [More](https://fluid.klxm.de/en/redaxo-6/yform/)
- ### AddOns: only with a version for 6
   
  AddOns come via Composer. If there is no version for REDAXO 6, look for alternatives – YForm or fluid are often enough.
- ### Modules and templates: handwork
   
  No 1:1 conversion: modules become classes with fields as attributes. A good chance to get rid of legacy.
   [More](https://fluid.klxm.de/en/redaxo-6/modules-and-templates/)
- ### Content: structure first
   
  Categories, articles, languages and media can be transferred. Slices need a mapping from value1–20 to the new fields.
- ### Own code: namespaces
   
  rex_ classes become classes under Redaxo\Core\…, many extension points are classes now.
   [More](https://fluid.klxm.de/en/redaxo-6/technology/)
- ### Addresses: redirect
   
  Redirect old addresses cleanly to the new ones so search engines and links lose nothing.
   [More](https://fluid.klxm.de/en/plus/addresses/)

 
 
 

 

AddOn missing?

## First check whether YForm or fluid already do it

Many REDAXO 5 AddOns solve tasks that YForm or fluid already cover in REDAXO 6.

 

- ### Forms
   
  YForm 6 – on the website with fluid’s “Form” block and inbox.
   [View](https://fluid.klxm.de/en/plus/data/registration/)
- ### News, events, references
   
  A YForm table and the “Data list” block with detail pages and their own address.
   [View](https://fluid.klxm.de/en/plus/data/)
- ### Blog
   
  fluid’s blog: pages of a category with date, author, tags and RSS.
   [View](https://fluid.klxm.de/en/news/)
- ### Addresses and SEO
   
  As of 30 November 2026: yrewrite 3.x, with fluid too. There is no URL addon for REDAXO 6 yet; for now, addresses of records can be set in fluid.
   [View](https://fluid.klxm.de/en/plus/addresses/)
- ### Search
   
  fluid’s search with an index across all languages – no database of its own.
   [View](https://fluid.klxm.de/en/search/)
- ### Maps
   
  The “Map” block with its own proxy: visitors never connect to third parties.
- ### MBlock, MForm
   
  Replaced by the core: module fields as attributes instead of MForm, the Collection field for repeating groups instead of MBlock. With fluid also editable on the website – as a block or an ordinary module.
   [View](https://fluid.klxm.de/en/redaxo-6/modules-and-templates/)
- ### Editing images
   
  image_editor: crop, rotate, focal point – the original stays.
- ### Navigation
   
  nav: the navigation for REDAXO 6.
   [View](https://fluid.klxm.de/en/redaxo-6/navigation/)

 
 
 

 

Example

## From MBlock to Collection

Repeating groups become the core’s Collection field: a module with an entry class as on the page “Modules and templates”. The MBlock data can be converted directly while transferring the content.

 
 
 
Import (PHP) PHP
 

```
// Beim Übernehmen der Inhalte aus REDAXO 5: MBlock-Wert (JSON in REX_VALUE[1]) → Collection
$old = json_decode((string) $row['value1'], true) ?: [];    // [{"titel": "…", "bild": "a.jpg", "link": "12"}, …]
$map = ['titel' => 'title', 'bild' => 'image', 'link' => 'link'];   // Feld im MBlock-Formular → Schlüssel in Slide

$slides = [];
foreach ($old as $item) {
    $entry = [];
    foreach ($map as $from => $to) {
        $entry[$to] = $item[$from] ?? '';                  // Bild = Dateiname, Link = Artikel-ID – wie im Core
    }
    $slides[] = $entry;
}

ContentHandler::addSlice($articleId, $languageId, 1, 'slider', [
    'headline' => (string) $row['value2'],
    'slides' => $slides,                                  // Liste der Einträge, Werte je Feldschlüssel
]);
```

 
 
 

Define the field mapping once per module with MBlock – a loop over all slices does the rest.

 
 

 

Deployment

## Publishing: how a project gets onto the server

 

In REDAXO 5, AddOns came to the server via the installer and database changes by hand or with ydeploy. In REDAXO 6, everything lives in the code: Composer brings the core and AddOns, `console migrate` brings the database in line with the code. Every way to the server does essentially the same – only where Composer and `migrate` run differs.

### With a shell on the server

Fetch the new state, `composer install --no-dev`, `cache:clear`, `migrate` – see below. Simple and fast; it needs SSH and Composer at the host.

### Deployer, e.g. with ydeploy

[Deployer](https://deployer.org) puts every release into its own folder and switches via symlink – with rollback. ydeploy by Yakamara brings a configuration for REDAXO and syncs the database with `ydeploy:diff` and `ydeploy:migrate`. As of 10 November 2026, ydeploy is for REDAXO 5 (from 5.13). In REDAXO 6, `console migrate` takes over syncing the database; Deployer itself can be used the same way.

### SFTP or FTP only: klxm_deploy

For web spaces without shell and Composer: klxm_deploy builds the state locally with `composer install --no-dev`, uploads only changed files (many at once as a ZIP) and then syncs the database via the core’s web access (`REX_MIGRATE_TOKEN`, not in hardened mode). It runs only locally, in the backend and on the console. klxm_deploy is in development and not released yet.

### Automatically via CI

The same steps as a pipeline (GitHub Actions, Gitea …): build, test and roll out on every push to the main branch.

 
 

 

## A deploy with a shell

The order this demo uses, too.

 
 
 
Terminal
 

```
# Sicherung der Datenbank – Verbindungsdaten liefert die Konsole
mariadb-dump --single-transaction $(php bin/console db:connection-options | tr '\n' ' ') | gzip > backup.sql.gz

# neuen Stand holen (git pull, Paket entpacken …), dann:
composer install --no-dev --optimize-autoloader
php bin/console cache:clear
php bin/console migrate            # Tabellen von Core, AddOns und Projekt angleichen
php bin/console migrate:cleanup    # Daten entfernter AddOns löschen (nach dem Umschalten)
```

 
 
 

In hardened mode, web access for migrate is switched off – then only via the console.

 
 

 

## Tips from practice

 

- **Start small:** move a manageable project first and develop your own pattern for modules and templates along the way.
- **Don’t port 1:1:** do not rebuild modules that are hardly used. What several modules do in a similar way becomes one block with variants.
- **Freeze content:** set a cut-off date for the transfer; changes after that go straight into the new website.
- **Keep addresses:** take a list of all old addresses (sitemap) along and redirect each one to its new address.
- **Code in Git:** modules, templates, YForm tables and meta info now live as files in the project – versioned and rolled out with the deploy.
- **Practise the deploy:** composer install, console migrate and cache:clear belong in every process that puts a new release live.

 
 

 
 
 

Try it

 

## This site is built with REDAXO 6 and fluid.

 

Sign in, tap “Edit” – and change every text, every image and the whole design right here.

 
 
[How editing works](https://fluid.klxm.de/en/fluid/editing/)[See the technology](https://fluid.klxm.de/en/redaxo-6/technology/)


---

Source: https://fluid.klxm.de/en/redaxo-6/moving-from-redaxo-5/
<style nonce="4b5117f5e394a1f30e5a0ce1a7da8f2b">.fs-455c15fee1{--ncss-grid-min:13rem !important}</style>