Libraries tagged by mocking
greenlight/greenlight
5457 Downloads
A test framework for PHP 8.4+ with typed attributes, parallel execution, flat memory use, and lifecycle-safe test doubles.
duncan3dc/uopz-expectations
307987 Downloads
Mock core functions and set up expectations similar to Mockery
pestphp/pest-plugin-mock
1690489 Downloads
Adds mocking capabilities to Pest or PHPUnit
eloquent/phony
476423 Downloads
Mocks, stubs, and spies for PHP.
lstrojny/phpunit-function-mocker
361761 Downloads
Allows mocking otherwise untestable PHP functions through the use of namespaces
jimbojsb/pseudo
89459 Downloads
PDO/MySQL Connection Mocking
hafriedlander/phockito
310758 Downloads
PHP Mocking framework inspired by Mockito for Java
runroom/rector-prophecy-to-mocking
24848 Downloads
Rector migration rules for Prophecy to Mocking
tarantool/phpunit-extras
85055 Downloads
A collection of helpers for PHPUnit to ease testing Tarantool libraries.
systemhaus/guzzle-http-mock
109145 Downloads
A mock library for verifying requests made with the Guzzle Http Client, and mocking responses.
sirbrillig/spies
69973 Downloads
Easier spies, stubs, and mocking for PHP tests
psr-mock/http-message-implementation
60202 Downloads
Lightweight PSR-7 HTTP Message implementations provider tailored to simplify mocked testing.
mpyw/mockery-pdo
25266 Downloads
BDD-style PDO Mocking Library for Mockery
mpyw/laravel-database-mock
24082 Downloads
Database Mocking Library which mocks PDO underlying Laravel Connection classes
janmarek/mockista
225260 Downloads
Mockista is library for mocking, which I've written, because I find mocking in PHPUnit awful.