Skip to content

composer

Generates a composer.json file

Examples

  • drush generate composer. Generates a composer.json file

Options

  • --answer=ANSWER. Answer to generator question.
  • --destination=DESTINATION. Absolute path to a base directory for file writing.
  • --dry-run. Output the generated code but not save it to file system.

Topics

Aliases

  • composer.json