Create a composer.json.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rajeshwari10 created an issue. See original summary.

rajeshwari10’s picture

adding compoer.json file.

rajeshwari10’s picture

Status: Active » Needs review
Dave Reid’s picture

Status: Needs review » Postponed (maintainer needs more info)

Is this really necessary with https://www.drupal.org/node/2576285 and https://www.drupal.org/project/project_composer available on Drupal.org now?

aks22’s picture

With reference to the below post it looks like optional but for better community support we can add it.

https://www.drupal.org/node/2514612

voleger’s picture

Typically drupal module projects add the composer file when the project has the required dependency to the 3-rd party library.

+1 to close this issue as "works as designed"

Dave Reid’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)
Related issues: +#3003281: Add a composer.json to ensure ext-xmlwriter is required

I actually added a composer.json because of wanting to require ext-xmlwriter: #3003281: Add a composer.json to ensure ext-xmlwriter is required