Libraries tagged by mock functions
php-mock/php-mock-phpunit
9490282 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
21154989 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
15905600 Downloads
Mocking utility for PHP functions and WordPress plugin API
php-mock/php-mock-integration
12119023 Downloads
Integration package for PHP-Mock
php-mock/php-mock-mockery
2430378 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
541351 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
98761 Downloads
Faker (phpfaker/faker) for WordPress via Brain Monkey
duncan3dc/uopz-expectations
286716 Downloads
Mock core functions and set up expectations similar to Mockery
icecave/isolator
1365389 Downloads
Dependency injection for global functions.
kenjis/monkey-patch
30144 Downloads
Monkey patching for exit(), functions, methods, and constants
dreamscapes/ldap-core
91872 Downloads
Object encapsulation of PHP's native ldap functions
adriansuter/php-autoload-override
69754 Downloads
Override global scoped fully qualified function calls inside your class methods in order to be able to mock them during testing.
robier/mock-global-php-functions
18455 Downloads
Mock any function that exists in global namespace
myplanetdigital/function_mock
55898 Downloads
Framework that helps mocking functions for unit testing PHP scripts
leoloso/faker
135823 Downloads
Fork for PoP of: Faker (fzaninotto/faker) for WordPress via Brain Monkey