Libraries tagged by mocks
dvlpm/codeception-wiremock-extension
14914 Downloads
Wiremock extension for Codeception
box/shmock
31126 Downloads
Shorthand for (PHPUnit) Mocking
rezzza/time-traveler
8441 Downloads
Travel the time in PHP
jasonmccreary/test-double
707 Downloads
A modern PHP double library that puts developer experience first.
gamez/psr-testlogger
201552 Downloads
PSR-3 compliant test logger for developers who like tests and want to check if their application logs messages as they expect.
eloquent/phpstan-phony
109353 Downloads
PHPStan configuration for Phony.
eloquent/phony-peridot
5538 Downloads
Phony integration for Peridot.
dreamscapes/ldap-core
92933 Downloads
Object encapsulation of PHP's native ldap functions
mattersight/phppact
16295 Downloads
Enables consumer driven contract testing, following the PACT foundation principles.
psr-mock/http-message-implementation
60566 Downloads
Lightweight PSR-7 HTTP Message implementations provider tailored to simplify mocked testing.
psr-mock/http-factory-implementation
59634 Downloads
Lightweight PSR-17 HTTP Factory implementation provider tailored to simplify mocked testing.
psr-mock/http-client-implementation
68823 Downloads
Lightweight PSR-18 HTTP Client implementation provider tailored to simplify mocked testing.
psr-mock/http
28716 Downloads
Lightweight mock implementations of PSR-18, PSR-17 and PSR-7 tailored to simplify unit testing.
wp-launchpad/phpunit-wp-hooks
5833 Downloads
Custom annotations to mock WP hooks for PHPUnit.
sorge-it/http-server
418 Downloads
In-process HTTP/1.1 server for Pest and PHPUnit browser tests, built for coding agents. The page sees the test's RefreshDatabase transaction, actingAs() user and fakes. No event loop, no package dependencies; tests compare each response to a valid request with FrankenPHP, byte for byte in the form Chrome receives. Loopback only; not for production, WebDriver or HTTP mocks.