PHPackages                             wilr/silverstripe-envsiteconfig - 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. wilr/silverstripe-envsiteconfig

ActiveSilverstripe-vendormodule[Utility &amp; Helpers](/categories/utility)

wilr/silverstripe-envsiteconfig
===============================

View, set &amp; override env variables using SiteConfig

1.0.0(5y ago)2640BSD-3-ClausePHP

Since Mar 25Pushed 5y ago1 watchersCompare

[ Source](https://github.com/wilr/silverstripe-envsiteconfig)[ Packagist](https://packagist.org/packages/wilr/silverstripe-envsiteconfig)[ RSS](/packages/wilr-silverstripe-envsiteconfig/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

silverstripe-envsiteconfig
==========================

[](#silverstripe-envsiteconfig)

View, set &amp; override env variables using SiteConfig.

This is not a recommended module for every website, but in some cases (i.e CWP) developers are unable to view or modify environment variables easily – a pain when it comes to modules which require certain ENV variables to be defined (such as `silverstripe-algolia`).

Given the alternatives (hard-coding API keys) this module provides a half way solution, allowing website developers to edit and view environment variables via the built in `SiteConfig` settings tab.

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

[](#installation)

```
composer require wilr/silverstripe-envsiteconfig

```

Usage
-----

[](#usage)

Due to the senstive nature of exposing environment variables this module does not naively expose everything in `ENV`such as database usernames and passwords. Instead, projects should individually declare what environment variables can be modified such as `ALGOLIA_ADMIN_API_KEY`

```
Wilr\EnvSiteConfig\EnvSiteConfigExtension:
  allowlist:
    - ALGOLIA_ADMIN_API_KEY
    - ALGOLIA_SEARCH_API_KEY
    - ALGOLIA_SEARCH_APP_ID

```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

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

Unknown

Total

1

Last Release

1928d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/101629?v=4)[Will Rossiter](/maintainers/wilr)[@wilr](https://github.com/wilr)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/wilr-silverstripe-envsiteconfig/health.svg)

```
[![Health](https://phpackages.com/badges/wilr-silverstripe-envsiteconfig/health.svg)](https://phpackages.com/packages/wilr-silverstripe-envsiteconfig)
```

###  Alternatives

[silverstripe/cms

The SilverStripe Content Management System

5253.6M1.4k](/packages/silverstripe-cms)[silverstripe/userforms

UserForms enables CMS users to create dynamic forms via a drag and drop interface and without getting involved in any PHP code

1371.1M85](/packages/silverstripe-userforms)[symbiote/silverstripe-gridfieldextensions

A collection of useful grid field components

951.9M273](/packages/symbiote-silverstripe-gridfieldextensions)[symbiote/silverstripe-advancedworkflow

Adds configurable workflow support to the CMS, with a GUI for creating custom workflow definitions.

46302.4k9](/packages/symbiote-silverstripe-advancedworkflow)[silverstripe/tagfield

Tag field for SilverStripe

561.3M50](/packages/silverstripe-tagfield)[jonom/silverstripe-betternavigator

Front-end utility menu for Silverstripe websites featuring administration and development tools

60435.1k13](/packages/jonom-silverstripe-betternavigator)

PHPackages © 2026

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