https://github.com/drupal-composer/info-rewrite
A composer plugin for rewriting Drupal .info/.info.yml files
https://github.com/drupal-composer/info-rewrite
Last synced: about 1 year ago
JSON representation
A composer plugin for rewriting Drupal .info/.info.yml files
- Host: GitHub
- URL: https://github.com/drupal-composer/info-rewrite
- Owner: drupal-composer
- License: gpl-2.0
- Created: 2016-11-18T23:28:15.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2021-08-29T22:32:31.000Z (almost 5 years ago)
- Last Synced: 2025-04-25T04:50:03.666Z (about 1 year ago)
- Language: PHP
- Homepage:
- Size: 87.9 KB
- Stars: 7
- Watchers: 7
- Forks: 4
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[](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).
[](https://packagist.org/packages/drupal-composer/info-rewrite)
[](https://packagist.org/packages/drupal-composer/info-rewrite)
[](https://packagist.org/packages/drupal-composer/info-rewrite)
[](https://packagist.org/packages/drupal-composer/info-rewrite)
## 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.