PHP_Depend
- Author(s)
- (( authors ))
- Company
- (( companies ))
- (( resource.label ))
- (( resource.mask ))
- Dependencies
- (( dependencies ))
PHP_Depend shows you the quality of your design in the terms of extensibility, reusability and maintainability.
It is an adaption of the established Java development tool JDepend.
Installation
Install from a PHP Archive (with curl or wget)
The PHPUnit documentation has a clear manual on how to install PHARs on Windows.
If you have the Suhosin extension enabled,
make sure to allow the execution of PHARs in your php.ini
:
suhosin.executor.include.whitelist = phar
Locally
Download it:wget -O pdepend.phar https://static.pdepend.org/php/latest/pdepend.phar
or
curl -sSL https://static.pdepend.org/php/latest/pdepend.phar -o pdepend.phar
Use it:
php pdepend.phar
Globally
Download it:wget -O pdepend.phar https://static.pdepend.org/php/latest/pdepend.phar
or
curl -sSL https://static.pdepend.org/php/latest/pdepend.phar -o pdepend.phar
Install it as an executable:
chmod a+x pdepend.phar
sudo mv pdepend.phar /usr/local/bin/pdepend
Use it:
pdepend