C.67 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.90: Attributes

titleStringTitle of the project.n/aNo
destdirStringDestination directory for output files.n/aYes
templateStringName of the documentation template to use.responsive-twigNo
defaultPackageNameStringName of the default package.DefaultNo
pharlocationStringLocation of the phpDocumentor PHAR package.n/aNo

C.67.1 Example

<phpdoc2 title="API Documentation"
                <fileset dir="./classes">
                <include name="**/*.php" />

C.67.2 Supported Nested Tags

  • fileset - Files that should be included for parsing