PHPackages                             aaemnnosttv/wpenv - 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. aaemnnosttv/wpenv

ActiveWordpress-muplugin[Utility &amp; Helpers](/categories/utility)

aaemnnosttv/wpenv
=================

Environment-specific control over WordPress Options and more

v0.3(7y ago)42.5k1PHPPHP &gt;=5.4

Since Dec 4Pushed 7y ago2 watchersCompare

[ Source](https://github.com/aaemnnosttv/wpenv)[ Packagist](https://packagist.org/packages/aaemnnosttv/wpenv)[ RSS](/packages/aaemnnosttv-wpenv/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (3)Versions (5)Used By (0)

WPEnv
=====

[](#wpenv)

Environment-specific Control for WordPress
------------------------------------------

[](#environment-specific-control-for-wordpress)

Inspired by [phpdotenv](https://github.com/vlucas/phpdotenv) for establishing environment variables, WPEnv allows WordPress-specific configuration at the environment level.

At present, WPEnv simply provides a way for manipulating WordPress options (`get_option()`), by hard-coding the values in a `.wpenv.yml` file.

Unlike Dotenv, WPEnv values are defined in a Yaml file, which allows us to store complex values like arrays, integers or boolean values, rather than just strings.

WPEnv modifies the return value of the options we want to control. Simple values are replaced by the values defined in `.wpenv.yml`.
Arrays are merged on top of the returned value (if it is an array), otherwise all defined values simply become the returned value.

Getting Started
===============

[](#getting-started)

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity51

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

Total

3

Last Release

2823d ago

### Community

Maintainers

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

---

Top Contributors

[![aaemnnosttv](https://avatars.githubusercontent.com/u/1621608?v=4)](https://github.com/aaemnnosttv "aaemnnosttv (31 commits)")

### Embed Badge

![Health badge](/badges/aaemnnosttv-wpenv/health.svg)

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

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.5k10](/packages/helsingborg-stad-municipio)[october/rain

October Rain Library

1601.7M83](/packages/october-rain)[silverstripe/framework

The SilverStripe framework

7313.7M2.8k](/packages/silverstripe-framework)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.1k17.8k](/packages/prestashop-prestashop)[friendsoftypo3/content-blocks

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

103519.9k53](/packages/friendsoftypo3-content-blocks)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1189.8k](/packages/rcsofttech-audit-trail-bundle)

PHPackages © 2026

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