PHPackages                             m41r/nested-typoscript-constants - 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. m41r/nested-typoscript-constants

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

m41r/nested-typoscript-constants
================================

A simple proof-of-concept extension to support nested TypoScript constants again after the new TypoScript Parser introduction in Typo3 v12.

v1.0.2(1y ago)1725MITPHP

Since Nov 2Pushed 1y ago2 watchersCompare

[ Source](https://github.com/m41r/nested-typoscript-constants)[ Packagist](https://packagist.org/packages/m41r/nested-typoscript-constants)[ RSS](/packages/m41r-nested-typoscript-constants/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (2)Versions (4)Used By (0)

EXT: Nested Typoscript Constants
================================

[](#ext-nested-typoscript-constants)

**ATTENTION: this extension is just an example on HOW you can achieve it. While it's not the optimal solution available, it provides a quick and functional approach. If you discover a better solution, I'd gladly integrate it.**

### About

[](#about)

With the introduction of the new TypoScript Parser in Typo3 v12, the feature allowing nested constants (examples provided below) was initially removed. For those heavily reliant on this functionality (like myself), there seemed to be limited options. However, after raising awareness through the Forge issue [\#101752](https://forge.typo3.org/issues/101752) and patch [\#81078](https://review.typo3.org/c/Packages/TYPO3.CMS/+/81078), the feature has been reinstated. This restoration now allows us to use it again without requiring additional code adjustments on the users end.

### Examples

[](#examples)

#### Constants:

[](#constants)

```
normal = World
nested = Hello {$normal}

```

#### Setup:

[](#setup)

```
page.10 = TEXT
page.10.value = {$nested}

```

#### Current output (without the patch/listener):

[](#current-output-without-the-patchlistener)

```
Hello {$normal}

```

#### Expected output (with the patch/listener):

[](#expected-output-with-the-patchlistener)

```
Hello World

```

### Requirements:

[](#requirements)

- At least Typo3 **v12**
- The patch [\#81078](https://review.typo3.org/c/Packages/TYPO3.CMS/+/81078) should either be already merged into Typo3 or added manually via [composer patches](https://github.com/cweagans/composer-patches)

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~202 days

Total

3

Last Release

570d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/92540e4076986969fbc9400b26ede24c42d64c0ab779fdbdc2b709ff1ede905a?d=identicon)[m41r](/maintainers/m41r)

---

Top Contributors

[![m41r](https://avatars.githubusercontent.com/u/14954406?v=4)](https://github.com/m41r "m41r (3 commits)")

### Embed Badge

![Health badge](/badges/m41r-nested-typoscript-constants/health.svg)

```
[![Health](https://phpackages.com/badges/m41r-nested-typoscript-constants/health.svg)](https://phpackages.com/packages/m41r-nested-typoscript-constants)
```

###  Alternatives

[friendsoftypo3/content-blocks

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

103519.9k53](/packages/friendsoftypo3-content-blocks)[typo3/cms-form

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

147.6M264](/packages/typo3-cms-form)[b13/assetcollector

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

10125.6k](/packages/b13-assetcollector)[brotkrueml/schema

Embedding schema.org vocabulary - API and view helpers for schema.org markup

34653.7k16](/packages/brotkrueml-schema)[netresearch/rte-ckeditor-image

Image support in CKEditor for the TYPO3 ecosystem - by Netresearch

611.1M8](/packages/netresearch-rte-ckeditor-image)[fluidtypo3/flux

The flux package from FluidTYPO3

1501.0M25](/packages/fluidtypo3-flux)

PHPackages © 2026

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