Libraries tagged by mocks

mockery/mockery

10808 Favers
587991605 Downloads

Mockery is a simple yet flexible PHP mock object framework

Go to Download


phpunit/phpunit-mock-objects

5056 Favers
212326389 Downloads

Mock Object library for PHPUnit

Go to Download


phpspec/prophecy

8482 Favers
574046073 Downloads

Highly opinionated mocking framework for PHP 5.3+

Go to Download


mikey179/vfsstream

1459 Favers
124545519 Downloads

Virtual file system to mock the real file system in unit tests.

Go to Download


brain/monkey

349 Favers
18395619 Downloads

Mocking utility for PHP functions and WordPress plugin API

Go to Download


dg/bypass-finals

582 Favers
34735432 Downloads

🔓 BypassFinals: removes final and readonly from your code on the fly, so you can mock final classes and methods in PHPUnit, Mockery or Nette Tester.

Go to Download


codeception/stub

302 Favers
88587909 Downloads

Flexible Stub wrapper for PHPUnit's Mock Builder

Go to Download


php-mock/php-mock-phpunit

176 Favers
10094575 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

375 Favers
22586403 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


10up/wp_mock

724 Favers
3662575 Downloads

A mocking library to take the pain out of unit testing for WordPress

Go to Download


kahlan/kahlan

1150 Favers
1329691 Downloads

The PHP Test Framework for Freedom, Truth and Justice.

Go to Download


pact-foundation/pact-php

303 Favers
2371763 Downloads

Enables consumer driven contract testing, following the PACT foundation principles.

Go to Download


slope-it/clock-mock

77 Favers
2297431 Downloads

A library for mocking current date and time in tests.

Go to Download


php-mock/php-mock-integration

14 Favers
12892637 Downloads

Integration package for PHP-Mock

Go to Download


php-http/mock-client

75 Favers
11711133 Downloads

Mock HTTP client

Go to Download


Next >>