2017 © Pedro Peláez
 

composer-plugin drupal-module-installer

Install or uninstall Drupal modules based on composer operations.

image

droath/drupal-module-installer

Install or uninstall Drupal modules based on composer operations.

  • Tuesday, September 27, 2016
  • by droath
  • Repository
  • 0 Watchers
  • 0 Stars
  • 696 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 2 Versions
  • 7 % Grown

The README.md

Drupal Module Installer

This project is a composer plugin that integrates Drupal command-line tools (drush, drupal console) with composer. When installing or uninstalling Drupal module(s) using composer you had to manually install/uninstall the module(s) independently., (*1)

With this plugin installed composer will execute drush or drupal console commands based on the operation being performed, which leads to a more seamless development workflow., (*2)

Usage

Run composer require droath/drupal-module-installer:dev-master in your composer project., (*3)

Once installed you'll get a prompt when installing or uninstalling Drupal modules using composer. It will ask you if you would like to install/uninstall (based on the operation being performed) the newly added module., (*4)

Configuration

The default binary that will be used is drush. You can define a binary that you would like to use when executing commands in the extra block in the composer.json., (*5)

"extra": {
    "drupal-module-installer": {
        "binary": "drush",
        "drupal_root": "[DRUPAL_ROOT_RELATIVE_PATH]"
    }
}

Extra Options:, (*6)

  • The binary option allows the following:
    • drush
    • drupal
  • (Optional) The drupal_root option allows a relative path to the Drupal project. The script attempts to find the Drupal root itself, the path defined here will be used if it's unable to find it.

Contributing

Feel free to hack on this project. Please submit PRs or feature/bug issues on the GitHub project., (*7)

The Versions

27/09 2016

dev-master

9999999-dev https://github.com/droath/drupal-module-installer

Install or uninstall Drupal modules based on composer operations.

  Sources   Download

MIT

The Requires

 

by Travis Tomka

console installer module drupal drush

27/09 2016

1.0.0

1.0.0.0 https://github.com/droath/drupal-module-installer

Install or uninstall Drupal modules based on composer operations.

  Sources   Download

MIT

The Requires

 

by Travis Tomka

console installer module drupal drush