PHPackages                             christophlehmann/yaml-env-fallback - 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. christophlehmann/yaml-env-fallback

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

christophlehmann/yaml-env-fallback
==================================

A YAML Processor providing fallback functionality for env variables for TYPO3

03PHP

Since Oct 16Pushed 2y ago1 watchersCompare

[ Source](https://github.com/christophlehmann/yaml-env-fallback)[ Packagist](https://packagist.org/packages/christophlehmann/yaml-env-fallback)[ RSS](/packages/christophlehmann-yaml-env-fallback/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

TYPO3: Fallback for enviroment variables in YAML files
======================================================

[](#typo3-fallback-for-enviroment-variables-in-yaml-files)

This package provides an extended `EnvVariableProcessor` for TYPO3 with the ability to define a fallback value.

Instead `%env(DB_HOST)%` you now can use `%env(DB_HOST, localhost)%` where `localhost` is the fallback value.

It also works with `helhum/typo3-config-handling`.

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

[](#installation)

```
composer req christophlehmann/yaml-env-fallback
```

Configuration
-------------

[](#configuration)

Not needed.

###  Health Score

13

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity20

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/8e2a03e451b8ad5281ca437e00e44b1a50752d576afaba66db97d503beab31f2?d=identicon)[christophlehmann](/maintainers/christophlehmann)

---

Top Contributors

[![christophlehmann](https://avatars.githubusercontent.com/u/4953689?v=4)](https://github.com/christophlehmann "christophlehmann (1 commits)")

### Embed Badge

![Health badge](/badges/christophlehmann-yaml-env-fallback/health.svg)

```
[![Health](https://phpackages.com/badges/christophlehmann-yaml-env-fallback/health.svg)](https://phpackages.com/packages/christophlehmann-yaml-env-fallback)
```

###  Alternatives

[log1x/acf-composer

Create fields, blocks, option pages, and widgets using ACF Builder and Sage 10

493760.2k13](/packages/log1x-acf-composer)[markrogoyski/ipv4-subnet-calculator

Network calculator for subnet mask and other classless (CIDR) network information.

177813.7k6](/packages/markrogoyski-ipv4-subnet-calculator)[b13/menus

Easy and fast menus for TYPO3 Frontends

58534.7k1](/packages/b13-menus)[hfig/mapi

Pure PHP library for reading and manipulating Microsoft Outlook .msg messages (MAPI documents)

40420.9k2](/packages/hfig-mapi)

PHPackages © 2026

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