DecisionStore Composer Patches configuration in composer.json


Validating a complete Composer configuration is important to ensuring build issues are caught early.

Table Of Contents


When using cweagans/composer-patches, patches will be specified in composer.json and not composer.patches.json. We will not use the patches-file configuration key. This ensures that composer validate lints the entire Composer configuration, including patches.


Projects that have a separate patches file will need to inline their configuration. Given the clear benefits in having a valid Composer configuration, we view this as worthwhile for all existing and inherited projects.

Andrew Berry, Cathy Theys, David Burns, James Sansbury, Marcos Cano, Mateu Aguiló Bosch, Sally Young

Decided on