sminnee / phpunit
The PHP Unit Testing framework - forked to backport PHP 8 support
Installs: 117 988
Dependents: 12
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 2 161
Open Issues: 0
Requires
- php: ^5.6 || ^7 || ^8
- ext-dom: *
- ext-json: *
- ext-libxml: *
- ext-mbstring: *
- ext-xml: *
- myclabs/deep-copy: ~1.3
- phpspec/prophecy: ^1.6.2
- phpunit/php-code-coverage: ^4.0.4
- phpunit/php-file-iterator: ~1.4
- phpunit/php-text-template: ~1.2
- phpunit/php-timer: ^1.0.6
- sebastian/comparator: ^1.2.4
- sebastian/diff: ^1.4.3
- sebastian/environment: ^1.3.4 || ^2.0
- sebastian/exporter: ~2.0
- sebastian/global-state: ^1.1
- sebastian/object-enumerator: ~2.0
- sebastian/resource-operations: ~1.0
- sebastian/version: ^1.0.6|^2.0.1
- sminnee/phpunit-mock-objects: ^3.4.9
- symfony/yaml: ~2.1|~3.0|~4.0
Requires (Dev)
- ext-pdo: *
Suggests
- ext-xdebug: *
- phpunit/php-invoker: ~1.1
Conflicts
Replaces
- phpunit/phpunit: ^5.7
This package is auto-updated.
Last update: 2024-03-07 13:09:53 UTC
README
THIS FORK HAS BEEN RELEASED TO ADD PHP 8 SUPPORT TO PHPUNIT 5.7.
PHPUnit is a programmer-oriented testing framework for PHP. It is an instance of the xUnit architecture for unit testing frameworks.
Installation
We distribute a PHP Archive (PHAR) that has all required (as well as some optional) dependencies of PHPUnit bundled in a single file:
$ wget https://phar.phpunit.de/phpunit.phar $ chmod +x phpunit.phar $ mv phpunit.phar /usr/local/bin/phpunit
You can also immediately use the PHAR after you have downloaded it, of course:
$ wget https://phar.phpunit.de/phpunit.phar $ php phpunit.phar
Alternatively, you may use Composer to download and install PHPUnit as well as its dependencies. Please refer to the documentation for details on how to do this.
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: