- Install composer-patches plugin
composer require cweagans/composer-patches
-
Download all the files (
*.diff
&*.json
) topatches
subdirectory of your project -
Add the following to your
composer.json
:
"extra": {
"patches-file": "patches/composer.patches.json"
}
- Then the Azure SDK package will be patched automatically on
composer update
&composer install
. The patches are "documented" and will be reapplied whenever needed until a new release with the fixes is available.