Libraries tagged by mock functions
cemerson/clock
1979 Downloads
Ultra-simple clock abstraction for PHP 7+, allowing developers to properly mock time-related functions
potherca/phpunit-mock-function
2093 Downloads
Trait that allows mocking functions in PhpUnit testcase.
cyruscollier/phpspec-php-mock
403 Downloads
Adds the PHP Mock function mocking library as a phpspec Collaborator
kcs/function-mock
564 Downloads
Mock PHP unqualified functions inside namespaces
avris/function-mock
32 Downloads
Lightweight class for mocking global functions
yguedidi/global-functions-mocker
9 Downloads
A simple class that allow you mock global functions.
kartavik/php-mock
24 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.
jaschweder/mock
2191 Downloads
Mock help classes and functions
sikofitt/mocks-drupal-variables
8234 Downloads
Mock for drupal variable functions variable_(set,get,del)
kartavik/php-mock-integration
6 Downloads
Integration package for PHP-Mock
chazmuzz/php-mocked-functions
1 Downloads
Uses ext-runkit to mock, stub and set expectations on used-defined functions
baxtian/wp_faker
20 Downloads
Faker (phpfaker/faker) for WordPress via Brain Monkey
qubit05/phpunit-mockfunction
34 Downloads
PHPUnit extension to Mock PHP internal functions using Runkit.
axy/posix
8 Downloads
Mockable wrapper for POSIX functions
achal-aggarwal/native-php
10 Downloads
Creates stub of PHP native functions.