These snippets should help you to generate PHPDepend metrics for your PHP project. The included task-definition for Apache Ant will generate the metrics and process them to a human-readable HTML document using XSL transformations.
The definition of the ant task can be found in src/ant/build.xml and the used stylesheets are in src/xsl.
In the examples directory, you can find some demo content generated with this stuff.
0.1 - unstable
The whole stuff in here is licensed under MIT. You will find a copy of the license text in LICENSE.md