To install PHPUnit, use the following code: After installing the PHPUnit, check its version with the code: