Download the PHP package phpunit/phpunit without Composer

On this page you can find all versions of the php package phpunit/phpunit. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.


After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

All versions of phpunit with dependencies

Informations about the package 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 CI Status Type Coverage


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

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 and helps maintain the translations:

Requires php Version >=7.2
ext-dom Version *
ext-json Version *
ext-libxml Version *
ext-mbstring Version *
ext-xml Version *
ext-xmlwriter Version *
doctrine/instantiator Version ^1.3.1
myclabs/deep-copy Version ^1.10.0
phar-io/manifest Version ^2.0.3
phar-io/version Version ^3.0.2
phpspec/prophecy Version ^1.10.3
phpunit/php-code-coverage Version ^7.0.12
phpunit/php-file-iterator Version ^2.0.4
phpunit/php-text-template Version ^1.2.1
phpunit/php-timer Version ^2.1.2
sebastian/comparator Version ^3.0.2
sebastian/diff Version ^3.0.2
sebastian/environment Version ^4.2.3
sebastian/exporter Version ^3.1.2
sebastian/global-state Version ^3.0.0
sebastian/object-enumerator Version ^3.0.3
sebastian/resource-operations Version ^2.0.1
sebastian/type Version ^1.1.3
sebastian/version Version ^2.0.1

The package phpunit/phpunit contains the following files

Loading the files please wait ....