Libraries tagged by mocks
phpcurl/curlwrapper
113516 Downloads
The simplest OOP wrapper for curl, curl_multi, curl_share functions. Use CURL as a dependency, not hard-coded!
mpyw/mockery-pdo
25542 Downloads
BDD-style PDO Mocking Library for Mockery
mcustiel/mockable-datetime
575394 Downloads
A DateTime library that allows mock dates and times in UnitTests.
letsdrink/ouzo
11581 Downloads
Ouzo PHP MVC framework
lamoda/codeception-wiremock-extension
27628 Downloads
Wiremock extension for Codeception
kenjis/monkey-patch
42374 Downloads
Monkey patching for exit(), functions, methods, and constants
jeroen/psr-log-test-doubles
113314 Downloads
Test Doubles for the PSR-3 Logger Interface
janmarek/mockista
225421 Downloads
Mockista is library for mocking, which I've written, because I find mocking in PHPUnit awful.
goaop/virtual-file-system
17276 Downloads
Blazing-fast in-memory virtual filesystem for PHP 8.4+ — a modern, fully-typed replacement for adlawson/vfs with zero deprecations, full stream wrapper coverage, permissions, symlinks, locks and quotas.
firehed/mocktrine
18822 Downloads
PHPUnit Doctrine mocking tools
elliotchance/concise
225275 Downloads
Concise is test framework for using plain English and minimal code, built on PHPUnit.
doppiogancio/mocked-client
79237 Downloads
Describe a mocked HTTP server once, then test against it with any client: PSR-18, Guzzle, HTTPlug or Symfony
bcncommerce/stream-wrapper
28208 Downloads
PHP stream wrapper for testing classes which interact with files
eloquent/phony-phpunit
262156 Downloads
Phony for PHPUnit.
crysalead/kahlan
61125 Downloads
The PHP Test Framework for Freedom, Truth and Justice.