This is a custom Composer repository built with satis for 3rd party libraries used by Drupal contributed projects (modules/themes/distributions)
Add the following lines to your project's root composer.json
file
{
"repositories": [{
"type": "composer",
"url": "https://drulibs.github.io/drulibs"
}]
}
After adding the above lines, your root composer.json
file may look like:
{
...
"type": "project",
"repositories": [
{
"type": "composer",
"url": "https://packages.drupal.org/8"
},
{
"type": "composer",
"url": "https://drulibs.github.io/drulibs"
}
],
"require": {
...
That's all.
Next, just add the library/libraries by Composer as normal. For example:
composer require d-enyo/dropzone
or
composer require d-enyo/dropzone:5.7.1
However, as you can see, d-
needs to be prepended to the package/library
name. That's the naming convention.
Read the How it works?
section of the blog post Drulibs.com: an easier way managing Drupal 3rd-party FE libraries with Composer