PHPackages                             redkiwi-nl/localconfig - 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. redkiwi-nl/localconfig

ActiveWp-cli-package[Utility &amp; Helpers](/categories/utility)

redkiwi-nl/localconfig
======================

Creates a local config for any WordPress installation, based on a few questions you get asked.

0.3.1(9y ago)521MITPHP

Since Jun 7Pushed 9y agoCompare

[ Source](https://github.com/Redkiwi-NL/local-config)[ Packagist](https://packagist.org/packages/redkiwi-nl/localconfig)[ RSS](/packages/redkiwi-nl-localconfig/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (6)Used By (0)

redkiwi-nl/local-config
=======================

[](#redkiwi-nllocal-config)

[![Build Status](https://camo.githubusercontent.com/23f24f29312b3cb1556c35be8ef21f2c99446251ee37535085a92250d4bdfb4d/68747470733a2f2f7472617669732d63692e6f72672f5265646b6977692d4e4c2f6c6f63616c2d636f6e6669672e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Redkiwi-NL/local-config)

Quick links: [Installing](#installing) | [Explanation](#explanation) | [Examples](#examples) | [Contributing](#contributing)

Installing
----------

[](#installing)

Installing this package requires WP-CLI v0.23.0 or greater. Update to the latest stable release with `wp cli update`.

Once you've done so, you can install this package with `wp package install redkiwi-nl/localconfig`

Explanation
-----------

[](#explanation)

A fairly basic package that allows you to create a local config with at least the following constants:

```
'WP_ROOT_URL'
'WP_HOME'
'WP_SITEURL_APPEND'
'DB_NAME'
'DB_USER'
'DB_PASSWORD'
'DB_HOST'
'WP_CACHE'

```

These constants will be asked as a question, to fill in the php document after.

Whereas you can also add extra constants to be filled using \[--fields=\], which is comma separated

Examples
--------

[](#examples)

```
wp local-config create

```

```
wp local-config create --file=my_custom_local_config.php

```

```
wp local-config create --fields=extra_constant,another_constant

```

```
wp local-config create --fields=extra_constant,another_constant --fields_lowercase

```

Contributing
------------

[](#contributing)

Code and ideas are more than welcome.

Please [open an issue](https://github.com/redkiwi-nl/localconfig/issues) with questions, feedback, and violent dissent. Pull requests are expected to include test coverage.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95.5% 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 ~0 days

Total

5

Last Release

3622d ago

### Community

Maintainers

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

---

Top Contributors

[![JKetelaar](https://avatars.githubusercontent.com/u/3681904?v=4)](https://github.com/JKetelaar "JKetelaar (21 commits)")[![danielbachhuber](https://avatars.githubusercontent.com/u/36432?v=4)](https://github.com/danielbachhuber "danielbachhuber (1 commits)")

### Embed Badge

![Health badge](/badges/redkiwi-nl-localconfig/health.svg)

```
[![Health](https://phpackages.com/badges/redkiwi-nl-localconfig/health.svg)](https://phpackages.com/packages/redkiwi-nl-localconfig)
```

PHPackages © 2026

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