Skip to content

Instantly share code, notes, and snippets.

@simensen
Last active October 11, 2015 15:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simensen/3880426 to your computer and use it in GitHub Desktop.
Save simensen/3880426 to your computer and use it in GitHub Desktop.
Install PHPUnit via Composer

Install PHPUnit at a specific version via composer:

mkdir ~/phpunit-3.7.x-composer
cd ~/phpunit-3.7.x-composer
composer require phpunit/phpunit:3.7.*
composer install

Then use it as:

~/phpunit-3.7.x-composer/vendor/bin/phpunit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment