Libraries tagged by mocks
mockery/mockery
587991605 Downloads
Mockery is a simple yet flexible PHP mock object framework
phpunit/phpunit-mock-objects
212326389 Downloads
Mock Object library for PHPUnit
phpspec/prophecy
574046073 Downloads
Highly opinionated mocking framework for PHP 5.3+
mikey179/vfsstream
124545519 Downloads
Virtual file system to mock the real file system in unit tests.
brain/monkey
18395619 Downloads
Mocking utility for PHP functions and WordPress plugin API
dg/bypass-finals
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.
codeception/stub
88587909 Downloads
Flexible Stub wrapper for PHPUnit's Mock Builder
php-mock/php-mock-phpunit
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.
php-mock/php-mock
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.
10up/wp_mock
3662575 Downloads
A mocking library to take the pain out of unit testing for WordPress
kahlan/kahlan
1329691 Downloads
The PHP Test Framework for Freedom, Truth and Justice.
pact-foundation/pact-php
2371763 Downloads
Enables consumer driven contract testing, following the PACT foundation principles.
slope-it/clock-mock
2297431 Downloads
A library for mocking current date and time in tests.
php-mock/php-mock-integration
12892637 Downloads
Integration package for PHP-Mock
php-http/mock-client
11711133 Downloads
Mock HTTP client