Libraries tagged by moc

mockery/mockery

10809 Favers
596211776 Downloads

Mockery is a simple yet flexible PHP mock object framework

Go to Download


phpunit/phpunit-mock-objects

5056 Favers
212554984 Downloads

Mock Object library for PHPUnit

Go to Download


phpspec/prophecy

8480 Favers
575123356 Downloads

Highly opinionated mocking framework for PHP 5.3+

Go to Download


mikey179/vfsstream

1460 Favers
125424724 Downloads

Virtual file system to mock the real file system in unit tests.

Go to Download


dg/bypass-finals

582 Favers
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.

Go to Download


brain/monkey

350 Favers
18833048 Downloads

Mocking utility for PHP functions and WordPress plugin API

Go to Download


phpspec/prophecy-phpunit

196 Favers
66970416 Downloads

Integrating the Prophecy mocking library in PHPUnit test cases

Go to Download


codeception/stub

302 Favers
89183951 Downloads

Flexible Stub wrapper for PHPUnit's Mock Builder

Go to Download


phpstan/phpstan-mockery

110 Favers
34104016 Downloads

PHPStan Mockery extension

Go to Download


php-mock/php-mock-phpunit

176 Favers
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.

Go to Download


php-mock/php-mock

376 Favers
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.

Go to Download


nunomaduro/mock-final-classes

115 Favers
1762460 Downloads

Allows mocking of final methods and classes in PHP.

Go to Download


10up/wp_mock

725 Favers
3715976 Downloads

A mocking library to take the pain out of unit testing for WordPress

Go to Download


phake/phake

487 Favers
8531264 Downloads

The Phake mock testing library

Go to Download


pact-foundation/pact-php

303 Favers
2412148 Downloads

Enables consumer driven contract testing, following the PACT foundation principles.

Go to Download


Next >>