Libraries tagged by mocks
xefi/faker-php
39170 Downloads
Lightweight, modular fake data generator for PHP 8.3+: tests, fixtures and database seeding, with installable locales and extensions.
simpletest/simpletest
383763 Downloads
SimpleTest is a framework for unit testing, web site testing and mock objects for PHP.
hg/apidoc
104878 Downloads
根据注解生成API文档,兼容Laravel、ThinkPHP、Hyperf、Webman等框架;在线调试、Markdown文档、多应用/多版本、Mock数据、授权访问、接口生成器、代码生成器等众多实用功能
php-mock/php-mock-prophecy
593887 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.
pestphp/pest-plugin-mock
1692086 Downloads
Adds mocking capabilities to Pest or PHPUnit
internations/http-mock
668720 Downloads
Mock HTTP requests on the server side in your PHP unit tests
rector/mockstan
270462 Downloads
Static analysis for PHPUnit mocks
mnapoli/phpunit-easymock
88249 Downloads
Helpers to build PHPUnit mocks
mcustiel/phiremock-server
969208 Downloads
A mocker for HTTP and REST services
mcustiel/phiremock-common
981377 Downloads
Common libraries for Phiremock
mcustiel/phiremock-codeception-module
614082 Downloads
Codeception module for PhireMock. Allows to stub remote services for HTTP requests.
mcustiel/phiremock-client
842152 Downloads
Client library to communicate with Phiremock server
jeroen/file-fetcher
523824 Downloads
Simple file fetching interface
icecave/isolator
1382656 Downloads
Dependency injection for global functions.
hafriedlander/phockito
311447 Downloads
PHP Mocking framework inspired by Mockito for Java