drupal/drupal-library-installer-plugin 问题修复 & 功能扩展

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

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

drupal/drupal-library-installer-plugin

最新稳定版本:0.3

Composer 安装命令:

composer require drupal/drupal-library-installer-plugin

包简介

README 文档

README

Drupal Libraries Installer Plugin (For Composer)

The problem this installer tries to achieve is the ability to install libraries that Drupal modules use in the right place.

Common examples of modules that do this are:

In order to use this plugin add this package to your "requires" section as well as any package you wish to install as a library:

"require": {
    "drupal/drupal-library-installer-plugin": "~0.1",
    "ckeditor/ckeditor": "~4.4.4",
}

Then you need to tell the installer plugin where you need your libraries installed. An example may be as follows

"extra": {
  "drupal-libraries": {
    "library-directory": "www/sites/all/libraries",
    "libraries": [
      {
        "name": "ckeditor",
        "package": "ckeditor/ckeditor"
      }
    ]
  }
}

This will install the ckeditor library in the folder www/sites/all/libraries/ckeditor. Easy nuff.

统计信息

  • 总下载量: 161.93k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 0
  • 依赖项目数: 26
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 56
  • Forks: 6
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2014-09-09