enterdev/composer-medic

Provides a simple and flexible way to patch Composer packages.

Installs: 181

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 0

Type:composer-plugin

1.0.2 2020-12-08 10:19 UTC

This package is not auto-updated.

Last update: 2024-09-25 03:47:52 UTC


README

Composer plugin to install patches to vendor repositories

#Installation

  1. composer require enterdev/composer-medic
  2. add medic.lock to your .gitignore (or any other -ignore)
  3. add the following to your composer.json:
"extra": {
    "medic": {
        "<vendor/package>|<path>": {
            "<path_to_patch.patch>": "<description of the patch>"
        }
    }
}

You may have the patches in your main repository or in the dependencies, they will be installed after all the packages are installed.

If patches list is changed, the package will be reinstalled and all the patches applied again.