PHPackages                             b13/doktypemapper - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. b13/doktypemapper

ActiveTypo3-cms-extension[Utility &amp; Helpers](/categories/utility)

b13/doktypemapper
=================

Maps your page.doktype to page.backend\_layout

3.0.0(4mo ago)14136.7k↓28.7%[1 issues](https://github.com/b13/doktypemapper/issues)[1 PRs](https://github.com/b13/doktypemapper/pulls)GPL-2.0-or-laterPHPCI passing

Since Jun 28Pushed 2w ago7 watchersCompare

[ Source](https://github.com/b13/doktypemapper)[ Packagist](https://packagist.org/packages/b13/doktypemapper)[ Docs](https://b13.com)[ RSS](/packages/b13-doktypemapper/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (7)Dependencies (11)Versions (19)Used By (0)

[![CI](https://github.com/b13/doktypemapper/actions/workflows/ci.yml/badge.svg)](https://github.com/b13/doktypemapper/actions/workflows/ci.yml/badge.svg)

EXT:doktypemapper - A TYPO3 Extension for mapping doktypes to backend\_layouts
==============================================================================

[](#extdoktypemapper---a-typo3-extension-for-mapping-doktypes-to-backend_layouts)

Features
--------

[](#features)

By selecting the `doktype` of a page the value of the field `backend_layout` is automatically set. There is no need for editors to select a `backend_layout`. In fact it is recommended to hide the fields `backend_layout` and `backend_layout_next_level` from editors.

Find more about how we use this extension at b13, including examples, [in this blog post.](https://b13.com/blog/simplify-your-typo3-page-configuration)

Installation
------------

[](#installation)

Install this extension via `composer req b13/doktypemapper` and activate the extension in the Extension Manager of your TYPO3 installation.

Once installed, add a new configuration `doktype` to your Backend-Layouts.

Configure your Backend-Layouts
------------------------------

[](#configure-your-backend-layouts)

Simply add the new configuration `doktype` to your Backend-Layout, e.g.

```
mod.web_layout.BackendLayouts.MyPage.config.backend_layout.doktype = 144

```

This will automatically set the `backend_layout` to `pagets__MyPage` when a page has doktype `144`.

### Hide fields from editors

[](#hide-fields-from-editors)

It is recommended to hide the fields `backend_layout` and `backend_layout_next_level` from page properties (the value is set automatically) using PageTsConfig:

```
TCEFORM.pages.backend_layout.disabled = 1
TCEFORM.pages.backend_layout_next_level.disabled = 1

```

### Note

[](#note)

This extension comes with a default empty backend\_layout configuration (see `Configuration/Sets/Doktypemapper/page.tsconfig`) for TYPO3's default "empty" page types (like Shortcut, External Link, etc.) to ensure valid database entries for every page type (even the ones without any content).

Credits
-------

[](#credits)

This extension was created by Achim Fritz in 2021 for [b13 GmbH, Stuttgart](https://b13.com).

[Find more TYPO3 extensions we have developed](https://b13.com/useful-typo3-extensions-from-b13-to-you) that help us deliver value in client projects. As part of the way we work, we focus on testing and best practices to ensure long-term performance, reliability, and results in all our code.

###  Health Score

54

—

FairBetter than 97% of packages

Maintenance85

Actively maintained with recent releases

Popularity40

Moderate usage in the ecosystem

Community14

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 50% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~194 days

Recently: every ~159 days

Total

8

Last Release

147d ago

Major Versions

1.1.1 → 2.0.02024-06-26

2.1.0 → v14.x-dev2026-02-07

2.2.0 → 3.0.02026-03-24

PHP version history (2 changes)1.0.0PHP ^7.2 || ~8.0

1.1.0PHP ^7.4 || ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3862523?v=4)[David Steeb](/maintainers/davidsteeb)[@davidsteeb](https://github.com/davidsteeb)

---

Top Contributors

[![achimfritz](https://avatars.githubusercontent.com/u/2152991?v=4)](https://github.com/achimfritz "achimfritz (18 commits)")[![bmack](https://avatars.githubusercontent.com/u/165630?v=4)](https://github.com/bmack "bmack (9 commits)")[![davidsteeb](https://avatars.githubusercontent.com/u/3862523?v=4)](https://github.com/davidsteeb "davidsteeb (8 commits)")[![jschlier](https://avatars.githubusercontent.com/u/9108576?v=4)](https://github.com/jschlier "jschlier (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/b13-doktypemapper/health.svg)

```
[![Health](https://phpackages.com/badges/b13-doktypemapper/health.svg)](https://phpackages.com/packages/b13-doktypemapper)
```

###  Alternatives

[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

103574.3k69](/packages/friendsoftypo3-content-blocks)[b13/container

Container Content Elements - Create Custom Container Content Elements for TYPO3

1853.5M123](/packages/b13-container)[wazum/sluggi

TYPO3 extension for URL slug management with inline editing, auto-sync, locking, access control, and redirects

40543.5k](/packages/wazum-sluggi)[fluidtypo3/flux

The flux package from FluidTYPO3

1501.0M25](/packages/fluidtypo3-flux)[typo3/cms-redirects

TYPO3 CMS Redirects - Create manual redirects, list existing redirects and automatically createredirects on slug changes.

167.6M84](/packages/typo3-cms-redirects)[yoast-seo-for-typo3/yoast_seo

Yoast SEO for TYPO3

571.8M9](/packages/yoast-seo-for-typo3-yoast-seo)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
