Libraries tagged by mock functions
php-mock/php-mock
13551417 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
8926516 Downloads
Mocking utility for PHP functions and WordPress plugin API
php-mock/php-mock-phpunit
6170173 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-mockery
1498065 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-integration
7892988 Downloads
Integration package for PHP-Mock
php-mock/php-mock-prophecy
362607 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
70064 Downloads
Faker (phpfaker/faker) for WordPress via Brain Monkey
icecave/isolator
1287198 Downloads
Dependency injection for global functions.
adriansuter/php-autoload-override
31620 Downloads
Override global scoped fully qualified function calls inside your class methods in order to be able to mock them during testing.
duncan3dc/uopz-expectations
182322 Downloads
Mock core functions and set up expectations similar to Mockery
phpcurl/curlwrapper
104047 Downloads
The simplest OOP wrapper for curl, curl_multi, curl_share functions. Use CURL as a dependency, not hard-coded!
myplanetdigital/function_mock
51657 Downloads
Framework that helps mocking functions for unit testing PHP scripts
leoloso/faker
101970 Downloads
Fork for PoP of: Faker (fzaninotto/faker) for WordPress via Brain Monkey
kenjis/monkey-patch
13659 Downloads
Monkey patching for exit(), functions, methods, and constants
kaiseki/laravel-helper-mocks
576 Downloads
Mock laravel helper functions