C.75 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.102: 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.75.1 Example

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

C.75.2 Supported Nested Tags

  • fileset - Files that should be included for parsing