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).
Highly opinionated mocking framework for PHP 5.3+
Full-stack testing PHP framework
Official repository for WebPageTest
A browser testing and web crawling library for PHP and Symfony
Expressive fixtures generator
:computer: Parallel testing for PHPUnit
PHP Mutation Testing library
PHP Benchmarking framework
SpecBDD Framework for PHP
VW PHPUnit extension makes your failing test cases succeed under CI tools scrutiny
Next-gen phpDoc parser with support for intersection types and generics
vfsStream is a stream wrapper for a virtual file system that may be helpful in unit tests to mock the real file system. It can be used with any unit test framework, like PHPUnit or SimpleTest.
A mail driver to quickly preview mail
:heavy_check_mark: PHP Test Framework for Freedom, Truth, and Justice
Generate Laravel test factories from your existing models
A model factory library for creating expressive, auto-completable, on-demand dev/test fixtures with Symfony and Doctrine.
Some helper classes for writing functional tests in Symfony
Micro PHP benchmark library
Tester: enjoyable unit testing in PHP with code coverage reporter. 🍏🍏🍎🍏
PHP Mocking Framework
Mock built-in PHP functions (e.g. time(), exec() or rand())
Playwright PHP library for browser automation: navigation, E2E tests, assertions, screenshots, and so much more!
PHP libraries that makes Selenium WebDriver + PHPUnit functional testing easy and robust