Libraries tagged by test mock
mockery/mockery
596211776 Downloads
Mockery is a simple yet flexible PHP mock object framework
mikey179/vfsstream
125424724 Downloads
Virtual file system to mock the real file system in unit tests.
dg/bypass-finals
35496207 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.
brain/monkey
18833048 Downloads
Mocking utility for PHP functions and WordPress plugin API
phpspec/prophecy-phpunit
66970416 Downloads
Integrating the Prophecy mocking library in PHPUnit test cases
php-mock/php-mock-phpunit
10191310 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
22795807 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.
phake/phake
8531264 Downloads
The Phake mock testing library
kahlan/kahlan
1337454 Downloads
The PHP Test Framework for Freedom, Truth and Justice.
slope-it/clock-mock
2332755 Downloads
A library for mocking current date and time in tests.
polishsymfonycommunity/symfony-mocker-container
8392635 Downloads
Provides base Symfony dependency injection container enabling service mocking.
php-mock/php-mock-mockery
2619399 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.
php-mock/php-mock-integration
13015145 Downloads
Integration package for PHP-Mock
jasonmccreary/double
152060 Downloads
A modern PHP double library that puts developer experience first.
colinodell/psr-testlogger
17170236 Downloads
PSR-3 compliant test logger based on psr/log v1's, but compatible with v2 and v3 too!