zendframework/zend-config-aggregator
Zend Config Aggregator collects configuration from multiple sources—PHP arrays, ConfigProvider classes, and globals—into a single merged array. It supports caching and recursive merging, making it easy to compose modular application configuration in Zend/Laminas applications.
zendframework/zend-config-aggregator is a framework-agnostic PHP config aggregation/cache library, not a Laravel-native package. Laravel already provides config repositories and config:cache; this package fits only as a narrow adapter for aggregating modular config providers or package-level config outside Laravel’s native cache. Do not position it as a replacement for Laravel config caching.Zend\ namespace and the 1.2.0 release notes emphasize PHP 7.3 support, which is not sufficient evidence of compatibility with modern Laravel/PHP 8.1+. The release is additive: ConfigAggregator::CACHE_FILEMODE allows octal cache file modes such as 0600, and PHP 7.3 support was added. No breaking changes, removals, or deprecations.laminas/laminas-config-aggregator, PHP/Laravel version mismatch, duplicate config caching with Laravel’s own cache, stale config after deployment, and cache file permission/ownership failures. The new CACHE_FILEMODE feature is useful for permission hardening but can cause operational failures if set without matching deploy-user permissions.0600 in all environments, and does that conflict with shared deployment users? What is the license/security posture and upgrade path?laminas/laminas-config-aggregator first because of the legacy Zend namespace. Add CACHE_FILEMODE in staging first, then production with 0600 only if the web/CLI deploy user owns the cache file. If replacing Laravel-native config handling, migrate config sources gradually rather than all at once.illuminate/config, Symfony components, and PSR dependencies. Confirm cache path writability and autoload behavior. For Laravel 10/11/12, require explicit PHP 8+ compatibility evidence before adoption.storage/framework/cache; 4) enable CACHE_FILEMODE=0600 in staging; 5) add deploy-time cache clear/warm steps; 6) canary production; 7) document fallback to Laravel config:cache. If the Laminas successor is viable, sequence migration before broader adoption.config:cache. Mitigate with deploy-time cache clear/warm, health checks, production 0600 where appropriate, and a documented fallback to Laravel-native config.How can I help you explore Laravel packages today?