Installing PHPUnit on CentOS via Composer.phar
Overview
To install with yum, run the following command.
1 | sudo yum install php-xml php-pear php-phpunit-PHPUnit --enablerepo=epel |
With yum, your existing php modules may get overwritten, which can affect your current environment.
For that reason, I have summarized below the steps to install via composer without any such impact.
Steps
Installing PHPUnit on CentOS via Composer.phar
https://kenzo0107.github.io/en/2015/05/14/install-phpunit-via-composer.phar-on-centos/