Registry / config / noodlehaus-config

noodlehaus-config

JSON →
library3.0.0phppackagistunverified

Lightweight configuration file loader that supports PHP, INI, XML, JSON, and YAML files

composer require noodlehaus/config
INSTALL
IMPORT
SIG · NOODLEHAUS-CONFIG
N
noodlehaus-config
configphpv3.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Config
use Noodlehaus\Config;

Loads a JSON configuration file and retrieves a nested value

<?php require_once 'vendor/autoload.php'; use Noodlehaus\Config; $config = new Config('config.json'); echo $config->get('database.host'); // 'localhost'
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.0.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
19 hits · last 30 days
node
16
Resources
noodlehaus-config — pip install noodlehaus-config · libregistry