localtools/php-http-client 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

localtools/php-http-client

最新稳定版本:v0.0.2

Composer 安装命令:

composer require localtools/php-http-client

包简介

Human-friendly and powerful HTTP client package for PHP

README 文档

README

This package provides a simple and powerful HTTP client for PHP, built on top of Guzzle. It simplifies the process of making HTTP requests and allows for easy customization of request options.

$client = new \PhpHttpClient\Client('https://api.example.com');
$response = $client->get('/endpoint');

echo $response->getStatusCode(); // 200

Installation

The recommended way to install PhpHttpClient is through Composer.

composer require localtools/php-http-client

Features

  • Fluent interface for building HTTP requests
  • Support for various authentication methods (Basic, Digest)
  • Easy integration with PSR-7 and PSR-18
  • Built on top of Guzzle, leveraging its power and flexibility

Version Guidance

Version Status Packagist Namespace Repo Docs PSR-7 PHP Version
1.x STABLE localtools/php-http-client PhpHttpClient [v1][php-http-client-1-repo] [v1][php-http-client-1-docs] Yes >=7.2.5,<8.2

统计信息

  • 总下载量: 1.04k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-12-18

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固