dePHPend

Author(s)
Michael Haeuslmann
Website
https://dephpend.com/
License
MIT License
GitHub
mihaeu/dephpend
Packagist
dephpend/dephpend
DockerHub
phpqa/dephpend

0 0 0

dePHPend helps with bringing your PHP projects back in shape.

Over the course of a project, we usually keep adding more and more dependencies. Often hidden behind singletons or service locators, these dependencies can quickly become a maintenance (and testing!) nightmare.

Installation

Install from a Composer package as a global CLI utility (with Composer)

Make sure you have Composer installed.

Require it as a global CLI utility:
composer global require dephpend/dephpend:dev-master
Run it:
dephpend
Make sure your global vendor binaries directory is in your $PATH environment variable. Check the Composer documentation for more information.

Install from a Git repository (with Git)

Make sure you have git and Composer installed.

Git clone the repository:
git clone git://github.com/mihaeu/dephpend.git
Change into the new directory:
cd dephpend
Install the project dependencies:
composer install
Run it:
bin/dephpend

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 dephpend.phar https://phar.dephpend.com/dephpend.phar
or
curl -sSL https://phar.dephpend.com/dephpend.phar -o dephpend.phar
Use it:
php dephpend.phar
Globally
Download it:
wget -O dephpend.phar https://phar.dephpend.com/dephpend.phar
or
curl -sSL https://phar.dephpend.com/dephpend.phar -o dephpend.phar
Install it as an executable:
chmod a+x dephpend.phar
sudo mv dephpend.phar /usr/local/bin/dephpend
Use it:
dephpend