The common trend in building Drupal 8 sites is to use composer, using the drupal8-composer project

To make a module available for building using composer it needs two things:

1. composer.json file in the module root, describing the project
2. the module should be registered at the https://packagist.drupal-composer.org site for automatic retreival using composer-installers

Comments

jaxxed created an issue. See original summary.

hypertext200’s picture

mimran’s picture

StatusFileSize
new585 bytes

Added the composer.json file, feel free to edit it if any further changes needed once we push the changes to the branch we can be able to register the project under https://packagist.drupal-composer.org

mimran’s picture

Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, 3: video-add-composer-2622848-3-8.x.patch, failed testing.

The last submitted patch, 3: video-add-composer-2622848-3-8.x.patch, failed testing.

The last submitted patch, 3: video-add-composer-2622848-3-8.x.patch, failed testing.

The last submitted patch, 3: video-add-composer-2622848-3-8.x.patch, failed testing.

The last submitted patch, 3: video-add-composer-2622848-3-8.x.patch, failed testing.

The last submitted patch, 3: video-add-composer-2622848-3-8.x.patch, failed testing.

The last submitted patch, 3: video-add-composer-2622848-3-8.x.patch, failed testing.

The last submitted patch, 3: video-add-composer-2622848-3-8.x.patch, failed testing.

mimran’s picture

StatusFileSize
new585 bytes

Updated the composer.json with require

mimran’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 13: video-add-composer-2622848-13-8.x.patch, failed testing.

The last submitted patch, 13: video-add-composer-2622848-13-8.x.patch, failed testing.

The last submitted patch, 13: video-add-composer-2622848-13-8.x.patch, failed testing.

The last submitted patch, 13: video-add-composer-2622848-13-8.x.patch, failed testing.

The last submitted patch, 13: video-add-composer-2622848-13-8.x.patch, failed testing.

The last submitted patch, 13: video-add-composer-2622848-13-8.x.patch, failed testing.

The last submitted patch, 13: video-add-composer-2622848-13-8.x.patch, failed testing.

  • heshanlk committed 99ccea2 on 8.x-1.x authored by mimran
    Issue #2622848 by mimran: Add a composer.json to the D8 module and...
hypertext200’s picture

Status: Needs work » Closed (fixed)