PHP Depend - Software Metrics for PHP

Downloads

PEAR Installer

The preferred way to install PHP Depend should be the PEAR installer and PHP Depend's PEAR channel, where you will always find the latest stable version. Just enter:

~ $ pear channel-discover pear.pdepend.org ~ $ pear install pdepend/PHP_Depend-beta

From the github repository

If you like to participate on the social coding plattform GitHub, you can use PHP_Depend's GitHub mirror to fork and contribute to the project.

~ $ git clone git://github.com/manuelpichler/pdepend.git

The PHAR archive

Beside the PEAR repository and the developer checkout from GitHub, you can always grep the latest version of PHP_Depend from this website as a simple, single PHAR archive.

~ $ wget http://pdepend.org/download/release/latest/pdepend.phar .. ~ $ chmod +x pdepend.phar

That's it. Now you have a running version of PHP_Depend, that can be called on the command-line:

~ $ ./pdepend.phar --summary-xml=/tmp/sum.xml /path/to/code

Releases

Release archive

Requirements

PHP Depend itself is considered stable at its current state and relies on the following software components:

Build on CloudBees button