定制 php-http/mock-client 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

php-http/mock-client

最新稳定版本:1.6.1

Composer 安装命令:

composer require php-http/mock-client

包简介

Mock HTTP client

README 文档

README

Latest Version Software License Build Status Total Downloads

Mock HTTP client

Install

Via Composer

composer require --dev php-http/mock-client

Usage

This client does not actually send requests to any server.

Instead it stores the request and returns a pre-set response or throws an exception. This client is useful for unit testing code that depends on a HTTPlug client to send requests and receive responses.

Documentation

Please see the mock client section in the official documentation.

Testing

composer test

Contributing

Please see our contributing guide.

Security

If you discover any security related issues, please contact us at security@php-http.org.

Credits

Thanks to David de Boer for implementing the mock client.

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 9.05M
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 75
  • 点击次数: 5
  • 依赖项目数: 753
  • 推荐数: 5

GitHub 信息

  • Stars: 71
  • Watchers: 6
  • Forks: 17
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固