PHPackages                             drupal-composer/info-rewrite - 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. drupal-composer/info-rewrite

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

drupal-composer/info-rewrite
============================

Writes out version information to the .info.yml files for Drupal projects.

1.0.0(6y ago)914.1k4[6 issues](https://github.com/drupal-composer/info-rewrite/issues)[1 PRs](https://github.com/drupal-composer/info-rewrite/pulls)GPL-2.0-or-laterPHP

Since Feb 4Pushed 4y ago6 watchersCompare

[ Source](https://github.com/drupal-composer/info-rewrite)[ Packagist](https://packagist.org/packages/drupal-composer/info-rewrite)[ RSS](/packages/drupal-composer-info-rewrite/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (6)Versions (8)Used By (0)

[![Build Status](https://camo.githubusercontent.com/bc52f7bd21ef3f6be09bc98406b2021ceedcb7a23324174bb68fe600f7813017/68747470733a2f2f7472617669732d63692e6f72672f64727570616c2d636f6d706f7365722f696e666f2d726577726974652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/drupal-composer/info-rewrite)

A composer plugin for rewriting Drupal `.info`/`.info.yml` files to include version information that Drupal requires.

This is only required when downloading projects that aren't full releases (for instance, dev versions).

[![Latest Stable Version](https://camo.githubusercontent.com/c720817202fc3cf6081ab1d1696df78d0b39c47bd8a8b0b016ed8f7d2cc560ff/68747470733a2f2f706f7365722e707567782e6f72672f64727570616c2d636f6d706f7365722f696e666f2d726577726974652f762f737461626c652e737667)](https://packagist.org/packages/drupal-composer/info-rewrite)[![Total Downloads](https://camo.githubusercontent.com/12d81540876707364db7b8089b630be835d0e799951860607abf0dbcadd830ab/68747470733a2f2f706f7365722e707567782e6f72672f64727570616c2d636f6d706f7365722f696e666f2d726577726974652f646f776e6c6f6164732e737667)](https://packagist.org/packages/drupal-composer/info-rewrite)[![Latest Unstable Version](https://camo.githubusercontent.com/b6bd266ec8922536e847e141dd52b970341091c2e8549cf5cf67b7bf26387c85/68747470733a2f2f706f7365722e707567782e6f72672f64727570616c2d636f6d706f7365722f696e666f2d726577726974652f762f756e737461626c652e737667)](https://packagist.org/packages/drupal-composer/info-rewrite)[![License](https://camo.githubusercontent.com/d0e011c477ed5554fc6346c76d1e8f1af769b3cb66ac95d08105b2353e9c3a09/68747470733a2f2f706f7365722e707567782e6f72672f64727570616c2d636f6d706f7365722f696e666f2d726577726974652f6c6963656e73652e737667)](https://packagist.org/packages/drupal-composer/info-rewrite)

Installation
------------

[](#installation)

`composer require drupal-composer/info-rewrite:~1.0`

Configuration
-------------

[](#configuration)

By default, this plugin only acts on packages of type `drupal-core`, `drupal-module`, `drupal-profile`, and `drupal-theme` (see DrupalInfo::$packageTypes). You can add additional package types in your `composer.json` file. Add to the `config` array an entry with key `drupal-info-rewrite--additional-packageTypes` and make its value be an array of strings which are the additional types you would like to add.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance7

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 72.4% 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 ~313 days

Recently: every ~294 days

Total

6

Last Release

1824d ago

Major Versions

1.0.x-dev → 2.0.0-rc12021-05-20

### Community

Maintainers

![](https://www.gravatar.com/avatar/c711eb409734c42befd3bb9d507be67da46d0db9bd03c5172c8fe2da1705c239?d=identicon)[webflo](/maintainers/webflo)

![](https://www.gravatar.com/avatar/a753aefee83a2962b5962cd13c64b377eaeb1e5950e4e2ecc11f773bdebac440?d=identicon)[jhedstrom](/maintainers/jhedstrom)

---

Top Contributors

[![jhedstrom](https://avatars.githubusercontent.com/u/76833?v=4)](https://github.com/jhedstrom "jhedstrom (55 commits)")[![lkmorlan](https://avatars.githubusercontent.com/u/5314459?v=4)](https://github.com/lkmorlan "lkmorlan (18 commits)")[![Pasqualle](https://avatars.githubusercontent.com/u/104823?v=4)](https://github.com/Pasqualle "Pasqualle (3 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/drupal-composer-info-rewrite/health.svg)

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

###  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)[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)[lullabot/drainpipe

An automated build tool to allow projects to have a set standardized operations scripts.

41716.4k2](/packages/lullabot-drainpipe)

PHPackages © 2026

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