The PHP Unit Testing framework.
Alternatives To Phpunit
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Hoppscotch50,57514 days ago1March 22, 2022107mitVue
👽 Open source API development ecosystem -
Cypress42,9504,0033,425a day ago178September 13, 20222,739mitJavaScript
Fast, easy and reliable testing for anything that runs in a browser.
4 days ago286mitJavaScript
☕️ simple, flexible, fun javascript test framework for node.js & the browser
Phpunit18,995256,34697,24415 hours ago449August 22, 2022139bsd-3-clausePHP
The PHP Unit Testing framework.
Goreplay17,07822 days ago51March 28, 2022291otherGo
GoReplay is an open-source tool for capturing and replaying live HTTP traffic into a test environment in order to continuously test your system with real data. It can be used to increase confidence in code deployments, configuration changes and infrastructure changes.
Mockito13,79538,95011,866a day ago332September 07, 2022329mitJava
Most popular Mocking framework for unit tests written in Java
Detox10,2623292188 hours ago483September 15, 2022185mitJavaScript
Gray box end-to-end testing and automation framework for mobile apps
Testcafe9,6008306572 days ago399September 20, 2022320mitJavaScript
A Node.js tool to automate end-to-end web testing.
Vitest8,4733,4958 hours ago253September 18, 2022240mitTypeScript
A Vite-native test framework. It's fast!
Goconvey7,6421,6654,57716 days ago34November 01, 2021155otherGo
Go testing in the browser. Integrates with `go test`. Write behavioral tests in Go.
Alternatives To Phpunit
Select To Compare

Alternative Project Comparisons



Latest Stable Version CI Status Type Coverage codecov

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


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

$ wget

$ php phpunit-X.Y.phar --version

Please replace X.Y with the version of PHPUnit you are interested in.

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.


Please refer to 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.

Popular Testing Projects
Popular Testing Tools Projects
Popular Software Quality Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Testing Tools
Testing Framework