Using phpDocumentor 2

Using phpDocumentor to generate your source code documentation is fairly straight forward. There is no web interface for version 2, so its straight to the command line for generating documentation.

The instructions from the phpDocumentor website are easy to follow, and here is what I did to generate the documentation from the Bravo and DataLine classes.

phpdoc -d . -t e:\docs

Running phpDoc

I have not installed the GraphVis package, however if you do then phpDocumentor will generate a class inheritance diagram for you.

Check out the generated documentation that was done from one of my files earlier using the steps in this tutorial.

Comments

Add new comment

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
By submitting this form, you accept the Mollom privacy policy.