PHPackages                             orakili/composer-drupal-info-file-patch-helper - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. orakili/composer-drupal-info-file-patch-helper

ActiveComposer-plugin[Utility &amp; Helpers](/categories/utility)

orakili/composer-drupal-info-file-patch-helper
==============================================

2.0.0(4mo ago)4181.8k—4%3GPL-2.0-or-laterPHPPHP &gt;=8.1

Since Dec 16Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/orakili/composer-drupal-info-file-patch-helper)[ Packagist](https://packagist.org/packages/orakili/composer-drupal-info-file-patch-helper)[ RSS](/packages/orakili-composer-drupal-info-file-patch-helper/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (2)Versions (7)Used By (0)

Drupal Info File Patch Helper - Composer plugin
===============================================

[](#drupal-info-file-patch-helper---composer-plugin)

This is a simple plugin to help applying patches that modify the `module.info.yml` of a drupal module, for example the Drupal 10 compatibility patches created by Drupal rector.

Requirements
------------

[](#requirements)

This plugin listens to the patch events from the  plugin so it is only useful when this plugin is added as well.

**Note:** This version requires `cweagans/composer-patches` version 2. For version 1 compatibility, use the latest 1.x release.

Why is this needed?
-------------------

[](#why-is-this-needed)

The Drupal packaging script adds information at the end of the `module.info.yml` file when generating the archive for distribution.

Example:

```
# Information added by Drupal.org packaging script on 2022-11-07
version: '8.x-1.3'
project: 'my_module'
datestamp: 1667786708

```

That prevents applying cleanly the patches that modify the `module.info.yml` for example to change the `core_version_requirement` (Drupal 9 -&gt; Drupal 10 upgrade).

What does it do?
----------------

[](#what-does-it-do)

This plugin simply listens to the patch events from the `cweagans/composer-patches` plugin and before the patch is applied, remove and store the info added by the Drupal packaging script and add it back after the patch is applied.

###  Health Score

50

—

FairBetter than 96% of packages

Maintenance76

Regular maintenance activity

Popularity39

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~223 days

Recently: every ~278 days

Total

6

Last Release

132d ago

Major Versions

1.x-dev → 2.x-dev2026-01-07

### Community

Maintainers

![](https://www.gravatar.com/avatar/3f7feee0bf35f08d0d0c6a6d956d3c4d98a557f7b2ce2669bfdd70bf2b32e48e?d=identicon)[orakili](/maintainers/orakili)

---

Top Contributors

[![orakili](https://avatars.githubusercontent.com/u/696348?v=4)](https://github.com/orakili "orakili (6 commits)")[![osopolar](https://avatars.githubusercontent.com/u/1523215?v=4)](https://github.com/osopolar "osopolar (1 commits)")

### Embed Badge

![Health badge](/badges/orakili-composer-drupal-info-file-patch-helper/health.svg)

```
[![Health](https://phpackages.com/badges/orakili-composer-drupal-info-file-patch-helper/health.svg)](https://phpackages.com/packages/orakili-composer-drupal-info-file-patch-helper)
```

###  Alternatives

[vaimo/composer-patches

Applies a patch from a local or remote file to any package that is part of a given composer project. Patches can be defined both on project and on package level. Optional support for patch versioning, sequencing, custom patch applier configuration and patch command for testing/troubleshooting added patches.

2994.3M16](/packages/vaimo-composer-patches)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k20](/packages/civicrm-civicrm-core)[mglaman/composer-drupal-lenient

1317.4M15](/packages/mglaman-composer-drupal-lenient)[drupal/core-composer-scaffold

A flexible Composer project scaffold builder.

5341.9M446](/packages/drupal-core-composer-scaffold)[drupal/core-project-message

Adds a message after Composer installation.

2122.6M172](/packages/drupal-core-project-message)[olvlvl/composer-attribute-collector

A convenient and near zero-cost way to retrieve targets of PHP 8 attributes

184108.8k8](/packages/olvlvl-composer-attribute-collector)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
