Libraries tagged by moc
mockery/mockery
596211776 Downloads
Mockery is a simple yet flexible PHP mock object framework
phpunit/phpunit-mock-objects
212554984 Downloads
Mock Object library for PHPUnit
phpspec/prophecy
575123356 Downloads
Highly opinionated mocking framework for PHP 5.3+
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
codeception/stub
89183951 Downloads
Flexible Stub wrapper for PHPUnit's Mock Builder
phpstan/phpstan-mockery
34104016 Downloads
PHPStan Mockery extension
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.
nunomaduro/mock-final-classes
1762460 Downloads
Allows mocking of final methods and classes in PHP.
10up/wp_mock
3715976 Downloads
A mocking library to take the pain out of unit testing for WordPress
phake/phake
8531264 Downloads
The Phake mock testing library
pact-foundation/pact-php
2412148 Downloads
Enables consumer driven contract testing, following the PACT foundation principles.