enterdev / composer-medic
Provides a simple and flexible way to patch Composer packages.
Installs: 185
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Type:composer-plugin
Requires
- php: >=5.4.0
- composer-plugin-api: ^1.0
Requires (Dev)
- composer/composer: ~1.0
This package is not auto-updated.
Last update: 2025-01-15 05:23:43 UTC
README
Composer plugin to install patches to vendor repositories
#Installation
- composer require enterdev/composer-medic
- add medic.lock to your .gitignore (or any other -ignore)
- 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.