Registry / config / laminas-laminas-config-aggregator

laminas-laminas-config-aggregator

JSON →
library1.20.0phppackagistunverified

Lightweight library for collecting and merging configuration from different sources.

composer require laminas/laminas-config-aggregator
INSTALL
IMPORT
SIG · LAMINAS-LAMINAS-CO
L
laminas-laminas-config-aggregator
configphpv1.20.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.

ConfigAggregator
use Laminas\ConfigAggregator\ConfigAggregator;

Aggregate configuration from PHP files.

use Laminas\ConfigAggregator\ConfigAggregator; use Laminas\ConfigAggregator\PhpFileProvider; $aggregator = new ConfigAggregator([ new PhpFileProvider('config/*.php'), ]); $config = $aggregator->getMergedConfig();
Debug
Known issues
gotchaRequires PHP 7.3+ and laminas/laminas-zendframework-bridge for ZF compatibility.
fix
Install laminas/laminas-zendframework-bridge if migrating from Zend Framework.
affects: >=1.0.0
Upgrade
Version history
1.20.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

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