drupal/drupal-library-installer-plugin

There is no license information available for the latest version (0.3) of this package.

Installs: 160 914

Dependents: 28

Suggesters: 0

Security: 0

Stars: 2

Watchers: 58

Forks: 6

Type:composer-plugin

0.3 2015-12-04 21:39 UTC

This package is not auto-updated.

Last update: 2024-04-27 13:41:13 UTC


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.