Skip to content

ARCANEDEV/Composer

Repository files navigation

Composer Plugin Packagist License For PHP

Travis Status Coverage Status Scrutinizer Code Quality SensioLabs Insight Github Issues

Packagist Packagist Release Packagist Downloads

By ARCANEDEV©

Installation

$ composer require arcanedev/composer

Usage

{
    "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
        }
    }
}

Plugin configuration

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.

Contribution

Any ideas are welcome. Feel free to submit any issues or pull requests, please check the contribution guidelines.

Credit

This package is based on https://github.com/wikimedia/composer-merge-plugin.