Libraries tagged by function mock

brain/monkey

349 Favers
18376379 Downloads

Mocking utility for PHP functions and WordPress plugin API

Go to Download


php-mock/php-mock

375 Favers
22581040 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.

Go to Download


php-mock/php-mock-phpunit

176 Favers
10090869 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.

Go to Download


php-mock/php-mock-integration

14 Favers
12887741 Downloads

Integration package for PHP-Mock

Go to Download


lucatume/function-mocker

19 Favers
1572965 Downloads

Function mocking with Patchwork

Go to Download


php-mock/php-mock-mockery

39 Favers
2595075 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.

Go to Download


lstrojny/phpunit-function-mocker

53 Favers
360744 Downloads

Allows mocking otherwise untestable PHP functions through the use of namespaces

Go to Download


php-mock/php-mock-prophecy

16 Favers
579261 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.

Go to Download


brain/faker

34 Favers
101635 Downloads

Faker (phpfaker/faker) for WordPress via Brain Monkey

Go to Download


duncan3dc/uopz-expectations

8 Favers
304660 Downloads

Mock core functions and set up expectations similar to Mockery

Go to Download


icecave/isolator

37 Favers
1378250 Downloads

Dependency injection for global functions.

Go to Download


adriansuter/php-autoload-override

23 Favers
73154 Downloads

Override global scoped fully qualified function calls inside your class methods in order to be able to mock them during testing.

Go to Download


lucatume/function-mocker-le

3 Favers
190816 Downloads

A lightweight function mocking solution.

Go to Download


leoloso/faker

1 Favers
143329 Downloads

Fork for PoP of: Faker (fzaninotto/faker) for WordPress via Brain Monkey

Go to Download


phpcurl/curlwrapper

12 Favers
113138 Downloads

The simplest OOP wrapper for curl, curl_multi, curl_share functions. Use CURL as a dependency, not hard-coded!

Go to Download


Next >>