Libraries tagged by mock
mockery/mockery
400469566 Downloads
Mockery is a simple yet flexible PHP mock object framework
phpspec/prophecy
512870410 Downloads
Highly opinionated mocking framework for PHP 5.3+
phpunit/phpunit-mock-objects
200021039 Downloads
Mock Object library for PHPUnit
dg/bypass-finals
17652824 Downloads
Removes final keyword from source code on-the-fly and allows mocking of final methods and classes
mikey179/vfsstream
86938614 Downloads
Virtual file system to mock the real file system in unit tests.
codeception/stub
63842414 Downloads
Flexible Stub wrapper for PHPUnit's Mock Builder
php-mock/php-mock
13022506 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.
phpstan/phpstan-mockery
14705298 Downloads
PHPStan Mockery extension
phake/phake
7150917 Downloads
The Phake mock testing library
brain/monkey
8521205 Downloads
Mocking utility for PHP functions and WordPress plugin API
phpspec/prophecy-phpunit
38790577 Downloads
Integrating the Prophecy mocking library in PHPUnit test cases
slope-it/clock-mock
1070703 Downloads
A library for mocking current date and time in tests.
polishsymfonycommunity/symfony-mocker-container
7248845 Downloads
Provides base Symfony dependency injection container enabling service mocking.
php-mock/php-mock-phpunit
5945914 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
7322314 Downloads
Mock HTTP client