Download the PHP package try/json-config without Composer
On this page you can find all versions of the php package try/json-config. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package json-config
json-config
Read
.json
files as config.
Install
Usage
API
Functions
jsonConfig($path)
Function to load an return a .json
file as accessable config. (Will return a class@anonymous
object)
Arguments
Argument | Type | Description |
---|---|---|
$path | string |
Path to the .json file that should be read as a config. |
Return
API description of the returned object.
Methods
Method | Arguments | Description |
---|---|---|
get($identifier, $seperator) | $identifier (string)(required), $seperator (string)(default: . ) |
Method to retrieve nested config entries more easily. |
Properties
Property | Type | Description |
---|---|---|
$config | \stdClass |
Property that contains the config as loaded by json_decode . |
License
GPL-2.0 © Willi Eßer
All versions of json-config with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0
The package try/json-config contains the following files
Loading the files please wait ....