install phpunit
Sección: Symfony
Creado: 22-12-24
Composer
composer require phpunit/phpunit
Simply add a dependency on phpunit/phpunit
to your project's composer.json
file if you use Composer to manage the dependencies of your project. Here is a minimal example of a composer.json
file that just defines a development-time dependency on PHPUnit 5.5:
{ "require-dev": { "phpunit/phpunit": "5.5.*" } }
For a system-wide installation via Composer, you can run:
composer global require "phpunit/phpunit=5.5.*"
Make sure you have ~/.composer/vendor/bin/
in your path.