cweagans/composer-configurable-plugin
Composer plugin that makes package configuration flexible by reading and merging settings from composer.json (extra) and other sources. Useful for teams needing configurable behavior across environments without hardcoding values in the plugin itself.
The goal of this library is to allow Composer plugin authors to have a unified way of defining strongly typed configuration in a standardized way.
Once a list of possible configuration values is defined, the specific value can come from one of three places:
composer.jsonEnvironment variables take precedence over values in composer.json or the default value, and values in composer.json take precedence over the default value.
This library was originally written as part of Composer Patches and was later extracted into a standalone project.
How can I help you explore Laravel packages today?