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

ActiveSilverstripe-vendormodule

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 2d 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 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

1875d 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

5163.4M1.3k](/packages/silverstripe-cms)[silverstripe/graphql

GraphQL server for SilverStripe models and other data

512.4M21](/packages/silverstripe-graphql)[silverstripe/admin

SilverStripe admin interface

262.6M325](/packages/silverstripe-admin)[tractorcow/silverstripe-opengraph

Implementation of the Facebook Open Graph protocol for SilverStripe

52141.6k5](/packages/tractorcow-silverstripe-opengraph)[silverstripe/silverstripe-omnipay

SilverStripe Omnipay Payment Module

38106.0k15](/packages/silverstripe-silverstripe-omnipay)[silverleague/ideannotator

Generate PHP DocBlock annotations for DataObject and DataExtension databasefields and relation methods

4768.0k43](/packages/silverleague-ideannotator)

PHPackages © 2026

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