Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Zend Config Laravel Package

zendframework/zend-config

zendframework/zend-config provides configuration management for PHP apps: load settings from multiple formats (PHP arrays, INI, JSON, XML, YAML), merge/override environments, and access values via a simple object/array API. Part of the Zend Framework component set.

View on GitHub
Deep Wiki
Context7

Migration to version 3

Version 3 is essentially fully backwards compatible with previous versions, with one key exception: Zend\Config\Factory no longer requires usage of zend-servicemanager for resolving plugins.

The reason this is considered a backwards compatibility break is due to signature changes:

  • Factory::setReaderPluginManager() now accepts a Psr\Container\ContainerInterface, and not a Zend\Config\ReaderPluginManager instance; ReaderPluginManager, however, still fulfills that typehint.

  • Factory::getReaderPluginManager() now returns a Psr\Container\ContainerInterface — specifically, a Zend\Config\StandaloneReaderPluginManager — and not a Zend\Config\ReaderPluginManager instance, by default; ReaderPluginManager, however, still fulfills that typehint.

  • Factory::setWriterPluginManager() now accepts a Psr\Container\ContainerInterface, and not a Zend\Config\WriterPluginManager instance; WriterPluginManager, however, still fulfills that typehint.

  • Factory::getWriterPluginManager() now returns a Psr\Container\ContainerInterface — specifically, a Zend\Config\StandaloneWriterPluginManager — and not a Zend\Config\WriterPluginManager instance, by default; WriterPluginManager, however, still fulfills that typehint.

If you were extending the class, you will need to update your signatures accordingly.

This particular update means that you may use any PSR-11 container as a reader or writer plugin manager, and no longer require installation of zend-servicemanager to use the plugin manager facilities.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport