Popularity
9.7
Stable
Activity
9.7
Declining
15,039
346
1,793

Description

PHPUnit is a programmer-oriented testing framework for PHP. It is an instance of the xUnit architecture for unit testing frameworks.

Code Quality Rank: L2
Monthly Downloads: 3,965,469
Programming language: PHP
License: BSD 3-clause "New" or "Revised" License
Tags: Testing     Xunit     Phpunit    
Latest version: v8.4.1

PHPUnit alternatives and similar libraries

Based on the "Testing" category

Do you think we are missing an alternative of PHPUnit or a related project?

Add another 'Testing' Library

README

PHPUnit

PHPUnit is a programmer-oriented testing framework for PHP. It is an instance of the xUnit architecture for unit testing frameworks.

Latest Stable Version Minimum PHP Version Build Status Type Coverage

Installation

We distribute a PHP Archive (PHAR) that has all required (as well as some optional) dependencies of PHPUnit 8.5 bundled in a single file:

$ wget https://phar.phpunit.de/phpunit-nightly.phar

$ php phpunit-nightly.phar --version

Alternatively, you may use Composer to download and install PHPUnit as well as its dependencies. Please refer to the "Getting Started" guide for details on how to install PHPUnit.

Contribute

Please refer to CONTRIBUTING.md for information on how to contribute to PHPUnit and its related projects.

List of Contributors

Thanks to everyone who has contributed to PHPUnit! You can find a detailed list of contributors on every PHPUnit related package on GitHub. This list shows only the major components:

A very special thanks to everyone who has contributed to the documentation and helps maintain the translations: