2017 © Pedro Peláez
 

composer-plugin merge-yaml

Provides a composer plugin which merges yaml files.

image

edisonlabs/merge-yaml

Provides a composer plugin which merges yaml files.

  • Tuesday, July 24, 2018
  • by jkribeiro
  • Repository
  • 4 Watchers
  • 2 Stars
  • 1,716 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Build Status Coverage Status, (*1)

merge-yaml

Overview

Provides a composer plugin which merges yaml files., (*2)

Installation

Configure the plugin in your composer.json file using for example:, (*3)

"extra": {
    "merge-yaml": {
        "files": [
            "database.sanitize"
        ],
        "locations": [
            "app/modules",
            "app/profiles"
        ],
        "output-dir": "NOT-PUBLIC-FOLDER"
    }
}

Where: - files: List of filenames (without the yml extension) to scan for. - locations: List of paths to scan for yaml files. - output-dir: The directory where the merged files will be placed., (*4)

How does it work

Every time that you run composer install or composer update, the plugin will scan the locations and merge the yml files to the output directory., (*5)

Command

You can also use the command composer merge-yaml to run the merge process., (*6)

Use the option --config to specify a config.json file to override the config defined in the composer.json: composer merge-yaml --config=config.json., (*7)

The content of the configuration file passed in needs to be in this format:, (*8)

{
    "files": [
        "database.sanitize"
    ],
    "locations": [
        "app/modules",
        "app/profiles"
    ],
    "output-dir": "NOT-PUBLIC-FOLDER"
}

Automated Tests and Code Sniffer

This repository is integrated with Travis CI to perform tests and detect PHP standards violations., (*9)

The Versions

24/07 2018

1.x-dev

1.9999999.9999999.9999999-dev

Provides a composer plugin which merges yaml files.

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

24/07 2018

dev-mock-extra-config

dev-mock-extra-config

Provides a composer plugin which merges yaml files.

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

18/07 2018

1.0.0-alpha1

1.0.0.0-alpha1

Provides a composer plugin which merges yaml files.

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires