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

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

wp-kit/config
=============

The config handler for wp-kit

2.0.4(5y ago)110.3k↓92%4MITPHPPHP ^7.4

Since Sep 1Pushed 5y ago1 watchersCompare

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

READMEChangelog (5)Dependencies (2)Versions (6)Used By (4)

wp-kit/config
=============

[](#wp-kitconfig)

This is a wp-kit component that handles config files.

`wp-kit/config` is fully compatible with [`Themosis`](http://framework.themosis.com/).

If you are using `Themosis` you'll notice it already has a [`ConfigFactory`](https://github.com/themosis/framework/blob/master/src/Themosis/Config/ConfigFactory.php) however this lacks [`ArrayAccess`](http://php.net/manual/en/class.arrayaccess.php) and only binds to `$app['config.factory`]` and not `$app['config`]` which means it is not compatible with most [`Illuminate`](https://github.com/illuminate) components. `wp-kit/config` solves these issues so you can benefit from using `Illuminate` components when using `Themosis`.

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

[](#installation)

If you're using `Themosis`, install via [`Composer`](https://getcomposer.org/) in the `Themosis` route folder, otherwise install in your `Composer` driven theme folder:

```
composer require "wp-kit/config"
```

Setup
-----

[](#setup)

### Add Service Provider

[](#add-service-provider)

Just register the service provider and facade in the providers config and theme config:

```
//inside theme/resources/config/providers.config.php

return [
    //
    WPKit\Config\ConfigServiceProvider::class,
    //
];
```

Usage
-----

[](#usage)

Simply add config files as `theme/resources/config/*.config.php` and reference the below snippet to access config data in `ArrayAccess` fashion:

```
app('config')->get('anything.key.key');
```

Get Involved
------------

[](#get-involved)

To learn more about how to use `wp-kit` check out the docs:

[View the Docs](https://github.com/wp-kit/theme/tree/docs/README.md)

Any help is appreciated. The project is open-source and we encourage you to participate. You can contribute to the project in multiple ways by:

- Reporting a bug issue
- Suggesting features
- Sending a pull request with code fix or feature
- Following the project on [GitHub](https://github.com/wp-kit)
- Sharing the project around your community

For details about contributing to the framework, please check the [contribution guide](https://github.com/wp-kit/theme/tree/docs/Contributing.md).

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

[](#requirements)

Wordpress 4+

PHP 5.6+

License
-------

[](#license)

wp-kit/config is open-sourced software licensed under the MIT License.

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity67

Established project with proven stability

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

Total

5

Last Release

2110d ago

### Community

Maintainers

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

---

Top Contributors

[![terence1990](https://avatars.githubusercontent.com/u/8171301?v=4)](https://github.com/terence1990 "terence1990 (22 commits)")

---

Tags

wordpressconfigthemosiswp-kit

### Embed Badge

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

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[symfony/stimulus-bundle

Integration with your Symfony app &amp; Stimulus!

17417.5M295](/packages/symfony-stimulus-bundle)[illuminate/session

The Illuminate Session package.

9939.3M850](/packages/illuminate-session)[friendsoftypo3/content-blocks

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

103519.9k53](/packages/friendsoftypo3-content-blocks)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[solspace/craft-freeform

The most flexible and user-friendly form building plugin!

54681.3k19](/packages/solspace-craft-freeform)

PHPackages © 2026

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