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

[phalcon/zephir

Zephir is a compiled high level language aimed to the creation of C-extensions for PHP

3.4k414.1k18](/packages/phalcon-zephir)[rafaelfragoso/haversini-formula

This PHP class can replace the Google Distance Matrix to calculate the distance between two points using latitude and longitude. It will prevent you to do massive requests to Google servers and enhance your service performance.

45212.0k](/packages/rafaelfragoso-haversini-formula)

PHPackages © 2026

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