Libraries tagged by mock
mockery/mockery
314284152 Downloads
Mockery is a simple yet flexible PHP mock object framework
phpunit/phpunit-mock-objects
192245302 Downloads
Mock Object library for PHPUnit
phpspec/prophecy
476006432 Downloads
Highly opinionated mocking framework for PHP 5.3+
mikey179/vfsstream
70055006 Downloads
Virtual file system to mock the real file system in unit tests.
php-mock/php-mock
9391764 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
6096624 Downloads
The Phake mock testing library
brain/monkey
5629588 Downloads
Mocking utility for PHP functions and WordPress plugin API
dg/bypass-finals
11397914 Downloads
Removes final keyword from source code on-the-fly and allows mocking of final methods and classes
phpspec/prophecy-phpunit
26123773 Downloads
Integrating the Prophecy mocking library in PHPUnit test cases
codeception/stub
51363718 Downloads
Flexible Stub wrapper for PHPUnit's Mock Builder
slope-it/clock-mock
452131 Downloads
A library for mocking current date and time in tests.
polishsymfonycommunity/symfony-mocker-container
6074928 Downloads
Provides base Symfony dependency injection container enabling service mocking.
php-mock/php-mock-phpunit
4509305 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-http/mock-client
5840070 Downloads
Mock HTTP client
m6web/redis-mock
2170039 Downloads
Library providing a PHP mock for Redis