Libraries tagged by mock
mcustiel/phiremock-codeception-extension
711247 Downloads
Codeception extension for Phiremock. Allows to stub remote services for HTTP requests.
mcustiel/phiremock
824363 Downloads
A mocker for HTTP and REST services. Full bundle.
letsdrink/ouzo-goodies
456917 Downloads
Utility classes, test assertions and mocking framework extracted from Ouzo framework.
blastcloud/guzzler
319406 Downloads
Supercharge your app or SDK with a testing library specifically for Guzzle.
eloquent/phony
438461 Downloads
Mocks, stubs, and spies for PHP.
tototoshi/staticmock
689413 Downloads
A mockery-like DSL to replace static method in test.
php-mock/php-mock-prophecy
333424 Downloads
Mock built-in PHP functions (e.g. time()) with Prophecy. This package relies on PHP's namespace fallback policy. No further extension is needed.
macpaw/extended_mock_http_client
153845 Downloads
This repository provides mocks for Symfony HTTP Client, it more flexible than default Symfony mock
happyr/service-mocking
161522 Downloads
Make it easy to mock services in a built container
pestphp/pest-plugin-mock
1087549 Downloads
Adds mocking capabilities to Pest or PHPUnit
noeldemartin/laravel-dusk-mocking
84969 Downloads
Mock facades in Laravel Dusk tests.
lucatume/function-mocker
1098992 Downloads
Function mocking with Patchwork
lstrojny/phpunit-function-mocker
326531 Downloads
Allows mocking otherwise untestable PHP functions through the use of namespaces
badoo/soft-mocks
30009 Downloads
The idea behind "Soft Mocks" - as opposed to "hardcore" mocks that work on the level of the PHP interpreter (runkit and uopz) - is to rewrite class code on the spot so that it can be inserted in any place. It works by rewriting code on the fly during file inclusion instead of using extensions like runkit or uopz.
mnapoli/phpunit-easymock
39512 Downloads
Helpers to build PHPUnit mocks