Skip to content

Commit

Permalink
Add documentation covering wikimedia/composer-merge-plugin. (#447)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrbeeman authored and grasmash committed Sep 23, 2016
1 parent a7aaad3 commit 19768c3
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions readme/dependency-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,19 @@ Commit `composer.json` and `composer.lock` afterwards.
## Patch a project

Please see [patches/README.md](../patches/README.md) for information on patch naming, patch application, and patch contribution guidance.

## Merging in additional composer.json files

In situations where you have local projects, e.g. a custom module, that have their own composer.json files, you can merge them in by including the composer-merge-plugin.

composer require wikimedia/composer-merge-plugin

Reference these additional composer.json files in the `extra` section of your root composer.json file.

"extra": {
"merge-plugin": {
"require": [
"docroot/modules/custom/example/composer.json"
]
}
}

0 comments on commit 19768c3

Please sign in to comment.