PHPackages                             undkonsorten/typo3-getenv-modifier - 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. undkonsorten/typo3-getenv-modifier

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

undkonsorten/typo3-getenv-modifier
==================================

Adds the new TypoScript modifier := getenv() for TYPO3 versions below 9.3

0.0.3(6y ago)097GPL-2.0+PHP

Since Aug 3Pushed 1y ago3 watchersCompare

[ Source](https://github.com/undkonsorten/typo3-getenv-modifier)[ Packagist](https://packagist.org/packages/undkonsorten/typo3-getenv-modifier)[ Docs](https://www.undkonsorten.com)[ RSS](/packages/undkonsorten-typo3-getenv-modifier/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (3)Used By (0)

Important

This repository is archived since the getenv modifier is part of the TYPO3 core since v9

TYPO3 extension getenv\_modifier
================================

[](#typo3-extension-getenv_modifier)

This extension provides a new value modifier `:= getEnv()` for TypoScript syntax that reads environment variables into TypoScript values.

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

[](#installation)

### Composer

[](#composer)

```
composer require undkonsorten/typo3-getenv-modifier
```

### TER (TYPO3 Extension Repository)

[](#ter-typo3-extension-repository)

Just import extension `getenv_modifier` in Extension Manager.

### Git

[](#git)

```
# cd to typo3conf/ext
git clone https://github.com/undkonsorten/typo3-getenv-modifier.git getenv_modifier
```

Usage
-----

[](#usage)

Can be used in constants, setup and TSConfig (suggested usage in constants):

```
myConstant = defaultValue

# myConstant will be overridden if env var is defined at all.
# Empty env vars will override, too!
myConstant := getEnv(TYPO3_MY_CONSTANT)

```

Be sure to clear caches for changes in environment to take effect.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity53

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

Total

3

Last Release

2373d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a192083f4fc05fe8020592c9b5222677998fcf0e779df21ecb51016d8fd45f98?d=identicon)[undkonsorten](/maintainers/undkonsorten)

---

Top Contributors

[![cumuru](https://avatars.githubusercontent.com/u/12487311?v=4)](https://github.com/cumuru "cumuru (6 commits)")

---

Tags

modifierdotenvTypoScriptgetenv

### Embed Badge

![Health badge](/badges/undkonsorten-typo3-getenv-modifier/health.svg)

```
[![Health](https://phpackages.com/badges/undkonsorten-typo3-getenv-modifier/health.svg)](https://phpackages.com/packages/undkonsorten-typo3-getenv-modifier)
```

###  Alternatives

[vlucas/phpdotenv

Loads environment variables from `.env` to `getenv()`, `$\_ENV` and `$\_SERVER` automagically.

13.5k602.4M5.4k](/packages/vlucas-phpdotenv)[symfony/dotenv

Registers environment variables from a .env file

3.8k226.7M2.3k](/packages/symfony-dotenv)[league/uri-components

URI components manipulation library

31932.3M67](/packages/league-uri-components)[josegonzalez/dotenv

dotenv file parsing for PHP

2799.8M137](/packages/josegonzalez-dotenv)[helhum/dotenv-connector

Makes it possible to set environment variables for composer projects.

1594.6M34](/packages/helhum-dotenv-connector)[m1/env

Env is a lightweight library bringing .env file parser compatibility to PHP. In short - it enables you to read .env files with PHP.

6412.0M21](/packages/m1-env)

PHPackages © 2026

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