cweagans/composer-patches
Simple patches plugin for Composer observed · 2026-08-28
Health v2 · maintenance only
71/100
- Activity 96
- Release rhythm 22
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4151
- days_rel: 307
- days_push: 24
- n_releases_24m: 1
Adoption not part of the score
1723 stars · 264 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Composer plugin that applies patches from local or remote files to any Composer-installed dependency. It is widely used in PHP CMS communities such as Drupal, TYPO3, Magento, and Yii.
Use cases
- apply patches to composer dependencies
- patch a vendor package without forking it
- manage patches across a team of PHP developers
- apply remote patch files to dependencies
- maintain patched dependencies in Drupal projects
- reproducible builds with patched composer packages
When to choose
- you need to patch a Composer dependency and keep the patch managed in version control
- you work in PHP ecosystems like Drupal or Magento where dependency patching is standard practice
- you want declarative, reproducible patch application during composer install
When to avoid
- you can upstream your fix and simply update the dependency instead
- you are not using Composer for dependency management
- you need to patch packages outside the PHP/Composer ecosystem
Facets
plugin · maturity active
plugin-system package-manager developer-tools developer-tools cli cross-platform composer patching php dependency-management automation
4 sources
- readme: https://github.com/cweagans/composer-patches · fetched 2026-08-28 · cdf2847b4a79
- homepage: https://www.cweagans.net/project/composer-patches · fetched 2026-08-29 · 2af4bb03fff3
- site_page: https://www.cweagans.net/about-me · fetched 2026-08-29 · 9031e9f75652
- site_page: https://docs.cweagans.net/composer-patches · fetched 2026-08-29 · 5b4816dfdbcb
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| cweagans/composer-patches | main | 71 |
For agents
markdown · JSON · MCP: product_card(name="cweagans/composer-patches")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem