PHPackages                             punktde/typo3-yaml-loader - 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. punktde/typo3-yaml-loader

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

punktde/typo3-yaml-loader
=========================

Load content types and doktypes from yaml

1.0.2(2y ago)1411MITPHP

Since Aug 14Pushed 2y ago6 watchersCompare

[ Source](https://github.com/punktDe/typo3-yaml-loader)[ Packagist](https://packagist.org/packages/punktde/typo3-yaml-loader)[ Docs](https://www.punkt.de)[ RSS](/packages/punktde-typo3-yaml-loader/feed)WikiDiscussions main Synced yesterday

READMEChangelog (3)Dependencies (4)Versions (4)Used By (0)

Introduction
============

[](#introduction)

This package was created as a proof-of-concept for content-type and doktype configuration via YAML files instead of the complicated process currently required by the TYPO3 Core

Setup
=====

[](#setup)

Install
-------

[](#install)

Install this package

> composer req punktde/typo3-yaml-loader

Include configuration
---------------------

[](#include-configuration)

Add the following lines to your `ext_tables.php`:

```
    $doktypeLoader = GeneralUtility::makeInstance(DoktypeLoader::class, 'your-site-extension-key');
    $doktypeLoader->loadPageTypes();

```

Add the following lines to your `ext_localconf.php`:

```
    $doktypeLoader = GeneralUtility::makeInstance(DoktypeLoader::class, 'your-site-extension-key');
    $doktypeLoader->loadPageTS();

    /** @var ContentTypeLoader $contentTypeLoader */
    $contentTypeLoader = GeneralUtility::makeInstance(ContentTypeLoader::class, 'your-site-extension-key');
    $contentTypeLoader->loadPageTS();

```

Add the following lines to your `Configuration/TCA/Overrides/pages.php`:

```
    $doktypeLoader = GeneralUtility::makeInstance(DoktypeLoader::class, 'your-site-extension-key');
    $doktypeLoader->loadTcaOverrides();

```

Add the following lines to your `Configuration/TCA/Overrides/tt_content.php`:

```
    $contentTypeLoader = GeneralUtility::makeInstance(ContentTypeLoader::class, 'your-site-extension-key');
    $contentTypeLoader->loadTcaOverrides();

```

> Please Note: This package does not contain any configuration for rendering of custom Content-Types or Doktypes. You will need to take care of registering rendering via Typoscript yourself.
>
> For Content Elements see
>
> For doktypes you will need to configure your `page` object to choose the correct template, eg. based on backend\_layout.
>
> Backend Layouts will be named as `pagets__{YOUR_IDENTIFIER}` by TYPO3. You can use this identifier to render the appropriate template.

Add a Content or Page Type
--------------------------

[](#add-a-content-or-page-type)

### Create YAML Config

[](#create-yaml-config)

YAML configuration files are located at `Configuration/(ContentTypes|Doktyps)/(Elements|Palettes)`

The yaml config will be validated on load, you can find the validation-rules in the following class:

```
  Classes/Validator/*Validator.php

```

Acknowledgments
===============

[](#acknowledgments)

The `ArrayToTyposcriptConverter` class is heavily inspired by this gist by Armin Vieweg:

>

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~24 days

Total

3

Last Release

1005d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0fad3b9ab04057e586b701aca7a8dbbf9598718114cdfd6bf85dada030f7688e?d=identicon)[punktde](/maintainers/punktde)

---

Top Contributors

[![c4ll-m3-j4ck](https://avatars.githubusercontent.com/u/7119811?v=4)](https://github.com/c4ll-m3-j4ck "c4ll-m3-j4ck (2 commits)")[![theDex](https://avatars.githubusercontent.com/u/3844381?v=4)](https://github.com/theDex "theDex (2 commits)")[![Xathos1991](https://avatars.githubusercontent.com/u/181067222?v=4)](https://github.com/Xathos1991 "Xathos1991 (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/punktde-typo3-yaml-loader/health.svg)

```
[![Health](https://phpackages.com/badges/punktde-typo3-yaml-loader/health.svg)](https://phpackages.com/packages/punktde-typo3-yaml-loader)
```

###  Alternatives

[friendsoftypo3/content-blocks

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

103519.9k53](/packages/friendsoftypo3-content-blocks)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1189.8k](/packages/rcsofttech-audit-trail-bundle)[typo3/cms-extbase

TYPO3 CMS Extbase - Extension framework to create TYPO3 frontend plugins and TYPO3 backend modules.

1813.1M813](/packages/typo3-cms-extbase)[wazum/sluggi

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

40529.5k](/packages/wazum-sluggi)[typo3/cms-redirects

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

167.4M80](/packages/typo3-cms-redirects)[typo3/cms-form

TYPO3 CMS Form - Flexible TYPO3 frontend form framework that comes with a backend editor interface.

147.6M265](/packages/typo3-cms-form)

PHPackages © 2026

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