User Tools

Site Tools


git_composer_patch

This is an old revision of the document!


Git Composer Patch

Patch a composer package

Get Patch file

Go to the Pull Request and add .patch to the URL and download this patch file

https://github.com/codesource/typo3-cdsrc_bepwreset/pull/18.patch

Install cweagans/composer-patches package

composer require cweagans/composer-patches

Add path to ''extras'' section in your composer.json

    "patches": {
      "typo3-ter/cdsrc-bepwreset": {
        "Add TYPO3 v9.5 compatibility": "https://patch-diff.githubusercontent.com/raw/codesource/typo3-cdsrc_bepwreset/pull/18.patch"
      }
    },
git_composer_patch.1538745987.txt.gz · Last modified: 2018/10/05 13:26 by admin