Last active
November 15, 2015 23:06
-
-
Save rlandas/04fcd5858ab99c6b37d3 to your computer and use it in GitHub Desktop.
COMPOSER install testing tools globally
This file contains hidden or 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
## manually install each | |
$ composer global require phpunit/phpunit | |
$ composer global require phpunit/dbunit | |
$ composer global require phing/phing | |
$ composer global require phpdocumentor/phpdocumentor | |
$ composer global require sebastian/phpcpd | |
$ composer global require phploc/phploc | |
$ composer global require phpmd/phpmd | |
$ composer global require squizlabs/php_codesniffer | |
## install in one line | |
$ composer global require phpunit/phpunit phpunit/dbunit phing/phing phpdocumentor/phpdocumentor sebastian/phpcpd phploc/phploc phpmd/phpmd squizlabs/php_codesniffer | |
## make these available on the commandline | |
$ export PATH=~/.composer/vendor/bin:$PATH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment