PHPackages                             builtnorth/wp-config - 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. builtnorth/wp-config

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

builtnorth/wp-config
====================

Adds configuration functionality to WordPress. Based off of Roots/WPConfig.

v1.0.1(10mo ago)015GPL-2.0-or-laterPHPPHP &gt;=8.1CI passing

Since Jul 22Pushed 1mo agoCompare

[ Source](https://github.com/builtnorth/wp-config)[ Packagist](https://packagist.org/packages/builtnorth/wp-config)[ RSS](/packages/builtnorth-wp-config/feed)WikiDiscussions main Synced today

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

Built North WP Config
=====================

[](#built-north-wp-config)

A WordPress configuration management library based off of [roots/wp-config](https://github.com/roots/wp-config).

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

[](#installation)

```
composer require builtnorth/wp-config
```

Usage
-----

[](#usage)

### Basic Example

[](#basic-example)

```
use BuiltNorth\WPConfig\Config;

// Set configurations
Config::define('WP_DEBUG', true);
Config::define('WP_HOME', env('WP_HOME'));
Config::define('DB_NAME', env('DB_NAME'));

// Apply them
Config::apply();
```

### Get Configuration Values

[](#get-configuration-values)

```
$debug = Config::get('WP_DEBUG', false);
$home = Config::get('WP_HOME');
```

Requirements
------------

[](#requirements)

- PHP 7.4+
- WordPress
- Composer

Disclaimer
----------

[](#disclaimer)

This software is provided "as is", without warranty of any kind, express or implied. In no event shall the authors or copyright holders be liable for any claim, damages, or other liability, whether in an action of contract, tort, or otherwise, arising from, out of, or in connection with the software or the use or other dealings in the software.

Use at your own risk.

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance74

Regular maintenance activity

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.3% 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 ~20 days

Total

2

Last Release

326d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4ea760d2fc869dfda680e0bd6dce422606e91d6a1687938a8ebc38a0c29ca343?d=identicon)[dannorthern](/maintainers/dannorthern)

---

Top Contributors

[![dannorthern](https://avatars.githubusercontent.com/u/157666970?v=4)](https://github.com/dannorthern "dannorthern (26 commits)")[![actions-user](https://avatars.githubusercontent.com/u/65916846?v=4)](https://github.com/actions-user "actions-user (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/builtnorth-wp-config/health.svg)

```
[![Health](https://phpackages.com/badges/builtnorth-wp-config/health.svg)](https://phpackages.com/packages/builtnorth-wp-config)
```

###  Alternatives

[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[vinkla/wordplate

The WordPlate boilerplate

2.2k5.3k](/packages/vinkla-wordplate)[lullabot/drainpipe

An automated build tool to allow projects to have a set standardized operations scripts.

43785.5k4](/packages/lullabot-drainpipe)[phlak/directory-lister

PHP directory lister

2.5k1.4k](/packages/phlak-directory-lister)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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