Libraries tagged by mock functions
php-mock/php-mock-phpunit
8978805 Downloads
Mock built-in PHP functions (e.g. time()) with PHPUnit. This package relies on PHP's namespace fallback policy. No further extension is needed.
php-mock/php-mock
19943287 Downloads
PHP-Mock can mock built-in PHP functions (e.g. time()). PHP-Mock relies on PHP's namespace fallback policy. No further extension is needed.
brain/monkey
14377365 Downloads
Mocking utility for PHP functions and WordPress plugin API
php-mock/php-mock-integration
11476928 Downloads
Integration package for PHP-Mock
php-mock/php-mock-mockery
2288893 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.
php-mock/php-mock-prophecy
521621 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.
brain/faker
95262 Downloads
Faker (phpfaker/faker) for WordPress via Brain Monkey
duncan3dc/uopz-expectations
275406 Downloads
Mock core functions and set up expectations similar to Mockery
icecave/isolator
1351983 Downloads
Dependency injection for global functions.
adriansuter/php-autoload-override
66474 Downloads
Override global scoped fully qualified function calls inside your class methods in order to be able to mock them during testing.
leoloso/faker
129729 Downloads
Fork for PoP of: Faker (fzaninotto/faker) for WordPress via Brain Monkey
phpcurl/curlwrapper
111969 Downloads
The simplest OOP wrapper for curl, curl_multi, curl_share functions. Use CURL as a dependency, not hard-coded!
kenjis/monkey-patch
24365 Downloads
Monkey patching for exit(), functions, methods, and constants
dreamscapes/ldap-core
89440 Downloads
Object encapsulation of PHP's native ldap functions
myplanetdigital/function_mock
55246 Downloads
Framework that helps mocking functions for unit testing PHP scripts