Registry / config / hyperf-config

hyperf-config

JSON →
library3.2.0phppackagistunverified

An independent component that provides configuration container.

composer require hyperf/config
INSTALL
IMPORT
SIG · HYPERF-CONFIG
H
hyperf-config
configphpv3.2.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 Hyperf\Config\Config;

Create and use a configuration container

use Hyperf\Config\Config; $config = new Config(['app' => ['name' => 'MyApp']]); echo $config->get('app.name'); // MyApp
Debug
Known issues
gotchaRequires Hyperf framework context
fix
Use within Hyperf application or provide container
affects: >=2.0.0
Upgrade
Version history
3.2.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
34 hits · last 30 days
node
32
Amazon
1
Resources
hyperf-config — pip install hyperf-config · libregistry