PHPackages                             maispace/environment - 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. maispace/environment

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

maispace/environment
====================

Helper extension for environment-dependent TYPO3 configuration. Loads `.env` files via `helhum/dotenv-connector` and provides utilities to detect the active environment (development, staging, production) and apply appropriate settings.

00PHPCI passing

Since Apr 11Pushed 2mo agoCompare

[ Source](https://github.com/mai-space-de/typo3-extension-environment)[ Packagist](https://packagist.org/packages/maispace/environment)[ RSS](/packages/maispace-environment/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

maispace/mai-environment — TYPO3 Extension
==========================================

[](#maispacemai-environment--typo3-extension)

[![PHP](https://camo.githubusercontent.com/187240af044d09d5b14a1d9d9ebdf3f7a993e4c7bc09bdb46b4ba661a891bf5b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e322532422d626c7565)](https://www.php.net/)[![TYPO3](https://camo.githubusercontent.com/8e07c24b7f613f6d30d4836b4d39c2b1722b1f030602202a878615f2d6cf25fa/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5459504f332d31332e342532304c54532d6f72616e6765)](https://typo3.org/)[![License: GPL v2](https://camo.githubusercontent.com/77e900ae34f8da9ccccc42662fce61a94ab07ddbfe3f7d066178e824f3673dbd/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d47504c25323076322d626c75652e737667)](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html)

Helper extension for environment-dependent TYPO3 configuration. Loads `.env` files via `helhum/dotenv-connector` and provides utilities to detect the active environment (development, staging, production) and apply appropriate settings.

**Requires:** TYPO3 13.4 LTS / 14.1 · PHP 8.2+

---

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

[](#installation)

```
composer require maispace/mai-environment
```

---

Development
-----------

[](#development)

### Linting

[](#linting)

```
composer lint:check     # Run all linters
composer lint:fix       # Fix auto-fixable issues
```

### Testing

[](#testing)

```
composer test           # Run all tests
composer test:unit      # Run unit tests only
```

---

License
-------

[](#license)

GPL-2.0-or-later — see [LICENSE](../../LICENSE) for details.

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance56

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity14

Early-stage or recently created project

 Bus Factor1

Top contributor holds 82.4% 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://avatars.githubusercontent.com/u/28559477?v=4)[maispace](/maintainers/maispace)[@MaiSpace](https://github.com/MaiSpace)

---

Top Contributors

[![mai-space](https://avatars.githubusercontent.com/u/38419872?v=4)](https://github.com/mai-space "mai-space (14 commits)")[![Copilot](https://avatars.githubusercontent.com/in/1143301?v=4)](https://github.com/Copilot "Copilot (3 commits)")

### Embed Badge

![Health badge](/badges/maispace-environment/health.svg)

```
[![Health](https://phpackages.com/badges/maispace-environment/health.svg)](https://phpackages.com/packages/maispace-environment)
```

###  Alternatives

[x-wp/di

The dependency injection container for WordPress

314.3k13](/packages/x-wp-di)

PHPackages © 2026

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