C.3 ComposerTask
Prev | Appendix C. Optional tasks | Next

## C.3 ComposerTask

The ComposerTask runs the Composer tool (http://getcomposer.org) directly from Phing.

Table C.3: Attributes

Name | Type | Description | Default | Required
--- | --- | --- | --- | ---
`php` | `String` | Path to the PHP interpreter | Defaults to the `${php.interpreter}` property which is the interpreter used to execute phing itself. | No
`composer` | `String` | Path to Composer | composer.phar | No
`command` | `String` | The Composer command to execute | n/a | No

### C.3.1 Supported Nested Tags

- `arg`

  Table C.4: Attributes

  Name | Type | Description | Default | Required
  --- | --- | --- | --- | ---
  `value` | `String` | A single command-line argument; can contain space characters. | n/a | One of these
  `file` | `String` | The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. | n/a
  `path` | `String` | A string that will be treated as a path-like string as a single command-line argument; you can use ; or : as path separators and Phing will convert it to the platform's local conventions. | n/a
  `line` | `String` | A space-delimited list of command-line arguments. | n/a

Prev | Up | Next
C.2 AutoloaderTask | Home | C.4 CoverageMergerTask