Libraries tagged by functional test
php-stubs/wordpress-tests-stubs
1963014 Downloads
WordPress Tests function and class declaration stubs for static analysis.
php-mock/php-mock-mockery
2497191 Downloads
Mock built-in PHP functions (e.g. time()) with Mockery. This package relies on PHP's namespace fallback policy. No further extension is needed.
appwrite/php-runtimes
301411 Downloads
Appwrite repository for Cloud Function runtimes that contains the configurations and tests for all of the Appwrite runtime environments.
jbzoo/phpunit
1171695 Downloads
PHPUnit toolbox with short assert aliases and useful functions around testing
php-mock/php-mock-prophecy
560348 Downloads
Mock built-in PHP functions (e.g. time()) with Prophecy. This package relies on PHP's namespace fallback policy. No further extension is needed.
icecave/isolator
1370695 Downloads
Dependency injection for global functions.
functional-php/pattern-matching
93171 Downloads
Pattern matching for PHP with automatic destructuring.
brain/faker
99815 Downloads
Faker (phpfaker/faker) for WordPress via Brain Monkey
duncan3dc/uopz-expectations
293381 Downloads
Mock core functions and set up expectations similar to Mockery
illuminated/testing-tools
23810 Downloads
Laravel-specific Testing Helpers and Assertions.
vectorface/mysqlite
42646 Downloads
Select MySQL compatibility functions for PDO's SQLite driver
tommyknocker/pdo-database-class
6316 Downloads
Framework-agnostic PHP database library with unified API for MySQL, MariaDB, PostgreSQL, SQLite, MSSQL, and Oracle. Query Builder, caching, sharding, window functions, CTEs, JSON, migrations, ActiveRecord, CLI tools, AI-powered analysis. Zero external dependencies.
phpcurl/curlwrapper
112747 Downloads
The simplest OOP wrapper for curl, curl_multi, curl_share functions. Use CURL as a dependency, not hard-coded!
kenjis/monkey-patch
32889 Downloads
Monkey patching for exit(), functions, methods, and constants
adriansuter/php-autoload-override
70445 Downloads
Override global scoped fully qualified function calls inside your class methods in order to be able to mock them during testing.