Skip to content

Instantly share code, notes, and snippets.

@rlandas
Last active November 15, 2015 23:06
Show Gist options
  • Save rlandas/04fcd5858ab99c6b37d3 to your computer and use it in GitHub Desktop.
Save rlandas/04fcd5858ab99c6b37d3 to your computer and use it in GitHub Desktop.
COMPOSER install testing tools globally
## 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