By ARCANEDEV©
$ composer require arcanedev/composer
{
"require": {
"arcanedev/composer": "~1.0"
},
"extra": {
"merge-plugin": {
"include": [
"composer.local.json",
"modules/*/composer.json"
],
"recurse": true,
"replace": false,
"merge-dev": true,
"merge-extra": false
}
}
}
The plugin reads its configuration from the merge-plugin
section of your composer.json's extra
section.
An include
setting is required to tell Composer Plugin which file(s) going to be merged.
Any ideas are welcome. Feel free to submit any issues or pull requests, please check the contribution guidelines.
This package is based on https://github.com/wikimedia/composer-merge-plugin.