kandi background
Explore Kits

13 best PHP Testing libraries in 2022

by Open Weaver kits ✔ Updated: Apr 7, 2022

PHP is a popular open-source programming language that is widely used for developing web applications. It helps developers to create dynamic content for websites and mobile apps. PHP Testing is one of the most important parts of PHP development. It allows you to test your code, check the performance of your product, and find bugs. The best PHP testing tools allow developers to run tests in a simple way, from unit tests to functional testing. To make your life easier, we’ve prepared a list of 7 best PHP Testing Open Source libraries in 2022 in our kit, laravel-generator - CRUD Laravel Generator; php-quickcheck - generative testing for PHP; phpunit-skeleton-generator - generate skeleton test classes from production code classes.

phpunitby sebastianbergmann

PHP star image 18836 Version:9.5.28

License: Permissive (BSD-3-Clause)

The PHP Unit Testing framework.

Support
Quality
Security
License
Reuse

phpunitby sebastianbergmann

PHP star image 18836 Version:9.5.28 License: Permissive (BSD-3-Clause)

The PHP Unit Testing framework.
Support
Quality
Security
License
Reuse

phpstanby phpstan

PHP star image 11615 Version:1.9.14

License: Permissive (MIT)

PHP Static Analysis Tool - discover bugs in your code without running it!

Support
Quality
Security
License
Reuse

phpstanby phpstan

PHP star image 11615 Version:1.9.14 License: Permissive (MIT)

PHP Static Analysis Tool - discover bugs in your code without running it!
Support
Quality
Security
License
Reuse

mockeryby mockery

PHP star image 10327 Version:1.5.1

License: Others (Non-SPDX)

Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succinct API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL).

Support
Quality
Security
License
Reuse

mockeryby mockery

PHP star image 10327 Version:1.5.1 License: Others (Non-SPDX)

Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succinct API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL).
Support
Quality
Security
License
Reuse

pestby pestphp

PHP star image 5990 Version:v1.22.3

License: Permissive (MIT)

Pest is an elegant PHP Testing Framework with a focus on simplicity

Support
Quality
Security
License
Reuse

pestby pestphp

PHP star image 5990 Version:v1.22.3 License: Permissive (MIT)

Pest is an elegant PHP Testing Framework with a focus on simplicity
Support
Quality
Security
License
Reuse

Behatby Behat

PHP star image 3587 Version:v3.8.1

License: Permissive (MIT)

BDD in PHP

Support
Quality
Security
License
Reuse

Behatby Behat

PHP star image 3587 Version:v3.8.1 License: Permissive (MIT)

BDD in PHP
Support
Quality
Security
License
Reuse

phoronix-test-suiteby phoronix-test-suite

PHP star image 1864 Version:v10.8.4

License: Strong Copyleft (GPL-3.0)

The Phoronix Test Suite open-source, cross-platform automated testing/benchmarking software.

Support
Quality
Security
License
Reuse

phoronix-test-suiteby phoronix-test-suite

PHP star image 1864 Version:v10.8.4 License: Strong Copyleft (GPL-3.0)

The Phoronix Test Suite open-source, cross-platform automated testing/benchmarking software.
Support
Quality
Security
License
Reuse

doctrine-test-bundleby dmaicher

PHP star image 846 Version:v7.0.0

License: Permissive (MIT)

Symfony bundle to isolate your app's doctrine database tests and improve the test performance

Support
Quality
Security
License
Reuse

doctrine-test-bundleby dmaicher

PHP star image 846 Version:v7.0.0 License: Permissive (MIT)

Symfony bundle to isolate your app's doctrine database tests and improve the test performance
Support
Quality
Security
License
Reuse

ci-phpunit-testby kenjis

PHP star image 570 Version:v3.0.3

License: Permissive (MIT)

An easier way to use PHPUnit with CodeIgniter 3.x.

Support
Quality
Security
License
Reuse

ci-phpunit-testby kenjis

PHP star image 570 Version:v3.0.3 License: Permissive (MIT)

An easier way to use PHPUnit with CodeIgniter 3.x.
Support
Quality
Security
License
Reuse

test-timeby spatie

PHP star image 200 Version:1.3.2

License: Permissive (MIT)

A helper to control the flow of time

Support
Quality
Security
License
Reuse

test-timeby spatie

PHP star image 200 Version:1.3.2 License: Permissive (MIT)

A helper to control the flow of time
Support
Quality
Security
License
Reuse

php-quickcheckby steos

PHP star image 173 Version:Current

License: Permissive (BSD-3-Clause)

generative testing for PHP

Support
Quality
Security
License
Reuse

php-quickcheckby steos

PHP star image 173 Version:Current License: Permissive (BSD-3-Clause)

generative testing for PHP
Support
Quality
Security
License
Reuse

phpunit-skeleton-generatorby sebastianbergmann

PHP star image 160 Version:Current

License: Others (Non-SPDX)

Tool that can generate skeleton test classes from production code classes and vice versa.

Support
Quality
Security
License
Reuse

phpunit-skeleton-generatorby sebastianbergmann

PHP star image 160 Version:Current License: Others (Non-SPDX)

Tool that can generate skeleton test classes from production code classes and vice versa.
Support
Quality
Security
License
Reuse

php-pseudolocaleby sandfox

PHP star image 0 Version:1.1.1

License: Permissive (MIT License)

Generate pseudo locale string for unicode testing and marking missing strings

Support
Quality
Security
License
Reuse

php-pseudolocaleby sandfox

PHP star image 0 Version:1.1.1 License: Permissive (MIT License)

Generate pseudo locale string for unicode testing and marking missing strings
Support
Quality
Security
License
Reuse

php-templateby stscoundrel

PHP star image 0 Version:Current

License: Permissive (MIT)

Template repo for generic PHP library with tests, lint and static analysis

Support
Quality
Security
License
Reuse

php-templateby stscoundrel

PHP star image 0 Version:Current License: Permissive (MIT)

Template repo for generic PHP library with tests, lint and static analysis
Support
Quality
Security
License
Reuse

See similar Kits and Libraries

Testing
Testing