C.56 PhpDocumentor2Task
Prev | Appendix C. Optional tasks | Next

## C.56 PhpDocumentor2Task

This task runs phpDocumentor 2, a PHP 5.3-compatible API documentation tool. This project is the result of the merge of the phpDocumentor and DocBlox projects.

Table C.79: Attributes

Name | Type | Description | Default | Required
--- | --- | --- | --- | ---
`title` | `String` | Title of the project. | n/a | No
`destdir` | `String` | Destination directory for output files. | n/a | Yes
`quiet` | `Boolean` | DEPRECATED | n/a | No
`template` | `String` | Name of the documentation template to use. | `responsive-twig` | No
`defaultPackageName` | `String` | Name of the default package. | `Default` | No

### C.56.1 Example

    <phpdoc2 title="API Documentation"
      destdir="apidocs"
      template="responsive-twig">
       <fileset dir="./classes">
          <include name="**/*.php" />
       </fileset>
    </phpdoc2>

### C.56.2 Supported Nested Tags

- `fileset` - Files that should be included for parsing

Prev | Up | Next
C.55 PhpDocumentorTask | Home | C.57 PhpDocumentorExternalTask