drupal-composer/info-rewrite

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

Package info

github.com/drupal-composer/info-rewrite

Type:composer-plugin

pkg:composer/drupal-composer/info-rewrite

Statistics

Installs: 14 115

Dependents: 0

Suggesters: 0

Stars: 7

Open Issues: 8

2.0.0-rc1 2021-05-20 18:45 UTC

Requires

  • composer-plugin-api: ^1.1 || ^2.0

Suggests

None

Provides

None

Conflicts

None

Replaces

None

GPL-2.0-or-later fc142b826242ff7175d3543da16c0cc8f3f8f180

  • Jonathan Hedstrom <jhedstrom.woop@gmail.com>

This package is auto-updated.

Last update: 2026-06-21 05:58:02 UTC


README

👁 Build Status

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
👁 Total Downloads
👁 Latest Unstable Version
👁 License

Installation

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

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.