Libraries tagged by mocking
phpspec/prophecy
576673591 Downloads
Highly opinionated mocking framework for PHP 5.3+
dg/bypass-finals
36488850 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.
phpspec/prophecy-phpunit
67838066 Downloads
Integrating the Prophecy mocking library in PHPUnit test cases
brain/monkey
19343738 Downloads
Mocking utility for PHP functions and WordPress plugin API
nunomaduro/mock-final-classes
2064218 Downloads
Allows mocking of final methods and classes in PHP.
10up/wp_mock
3785150 Downloads
A mocking library to take the pain out of unit testing for WordPress
slope-it/clock-mock
2383854 Downloads
A library for mocking current date and time in tests.
sanmai/duoclock
11776279 Downloads
PHP time mocking for tests - PSR-20 clock with mockable sleep(), time(), and TimeSpy for PHPUnit testing
polishsymfonycommunity/symfony-mocker-container
8408995 Downloads
Provides base Symfony dependency injection container enabling service mocking.
codeception/aspect-mock
3767829 Downloads
Experimental Mocking Framework powered by Aspects
happyr/service-mocking
296216 Downloads
Make it easy to mock services in a built container
lucatume/function-mocker
1628232 Downloads
Function mocking with Patchwork
letsdrink/ouzo-goodies
723691 Downloads
Utility classes, test assertions and mocking framework extracted from Ouzo framework.
noeldemartin/laravel-dusk-mocking
113596 Downloads
Mock facades in Laravel Dusk tests.
imdhemy/es-testing-utils
69790 Downloads
Elasticsearch Testing utils