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 1mo ago

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 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity45

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

953d 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

[symfony/ux-cropperjs

Cropper.js integration for Symfony

19280.3k3](/packages/symfony-ux-cropperjs)[leapt/core-bundle

Symfony LeaptCoreBundle

2529.1k4](/packages/leapt-core-bundle)[eliashaeussler/typo3-form-consent

Extension for TYPO3 CMS that adds double opt-in functionality to EXT:form

1481.0k](/packages/eliashaeussler-typo3-form-consent)[b13/assetcollector

Add CSS and SVG files and strings as inline style tag/inline svg to the html code.

10118.4k](/packages/b13-assetcollector)[mfd/ai-filemetadata

Automatically generates FAL metadata for files by means of public LLMs

1142.1k](/packages/mfd-ai-filemetadata)[mautic/mautic-typo3

Add-on TYPO3 extension that enhances the "EXT:marketing\_automation" TYPO3 extension by connecting it to the Mautic Marketing Automation platform: Determine "Persona" from Mautic segments. Also provides additional services e.g. language synchronisation between Mautic and TYPO3.

236.3k](/packages/mautic-mautic-typo3)

PHPackages © 2026

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