Last active
August 29, 2015 14:12
-
-
Save fmagnan/3603984fa4ce7af455f0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
### PHP Unit | |
sudo apt-get install phpunit | |
### Code Sniffer | |
sudo pear upgrade-all | |
sudo pear config-set auto_discover 1 | |
sudo pear install --alldeps PHP_CodeSniffer | |
### PHPLOC | |
wget https://phar.phpunit.de/phploc.phar | |
chmod +x *.phar | |
sudo mv phploc.phar /usr/local/bin/phploc | |
### Depend | |
wget http://static.pdepend.org/php/latest/pdepend.phar | |
chmod +x *.phar | |
sudo mv pdepend.phar /usr/local/bin/pdepend | |
### Mess Detector | |
http://static.phpmd.org/php/2.1.3/phpmd.phar | |
chmod +x *.phar | |
sudo mv phpmd.phar /usr/local/bin/phpmd | |
### Copy/Paste Detector | |
wget https://phar.phpunit.de/phpcpd.phar | |
chmod +x phpcpd.phar | |
sudo mv phpcpd.phar /usr/local/bin/phpcpd | |
### PHP Documentation Generator | |
sudo apt-get install php5-xsl | |
wget http://phpdox.de/releases/phpdox.phar | |
chmod +x phpdox.phar | |
sudo mv phpdox.phar /usr/local/bin/phpdox |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment