droath/drupal-module-installer 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

droath/drupal-module-installer

Composer 安装命令:

composer require droath/drupal-module-installer

包简介

Install or uninstall Drupal modules based on composer operations.

README 文档

README

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.

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.

Usage

Run composer require droath/drupal-module-installer:dev-master in your composer project.

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.

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.

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

Extra Options:

  • 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.

统计信息

  • 总下载量: 853
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-09-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固