dev-master
9999999-devThe config handler for wp-kit
MIT
The Requires
wordpress config themosis wp-kit
2.0.0
2.0.0.0The config handler for wp-kit
MIT
The Requires
wordpress config themosis wp-kit
Wallogit.com
2017 © Pedro Peláez
The config handler for wp-kit
This is a wp-kit component that handles config files., (*1)
wp-kit/config is fully compatible with Themosis., (*2)
If you are using Themosis you'll notice it already has a ConfigFactory however this lacks ArrayAccess and only binds to $app['config.factory`] and not $app['config`] which means it is not compatible with most Illuminate components. wp-kit/config solves these issues so you can benefit from using Illuminate components when using Themosis., (*3)
If you're using Themosis, install via Composer in the Themosis route folder, otherwise install in your Composer driven theme folder:, (*4)
composer require "wp-kit/config"
Just register the service provider and facade in the providers config and theme config:, (*5)
//inside theme/resources/config/providers.config.php
return [
//
WPKit\Config\ConfigServiceProvider::class,
//
];
Simply add config files as theme/resources/config/*.config.php and reference the below snippet to access config data in ArrayAccess fashion:, (*6)
app('config')->get('anything.key.key');
To learn more about how to use wp-kit check out the docs:, (*7)
View the Docs, (*8)
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:, (*9)
For details about contributing to the framework, please check the contribution guide., (*10)
Wordpress 4+, (*11)
PHP 5.6+, (*12)
wp-kit/config is open-sourced software licensed under the MIT License., (*13)
The config handler for wp-kit
MIT
wordpress config themosis wp-kit
The config handler for wp-kit
MIT
wordpress config themosis wp-kit