codemonster-ru/http-client
最新稳定版本:v1.0.0
Composer 安装命令:
composer require codemonster-ru/http-client
包简介
Lightweight HTTP client for Annabel applications.
README 文档
README
Lightweight HTTP client for Annabel applications.
Usage
use Codemonster\HttpClient\HttpClient; $response = (new HttpClient()) ->baseUrl('https://api.example.com') ->acceptJson() ->get('/users/1'); if ($response->successful()) { $user = $response->json(); }
The default transport uses PHP streams. A custom transport can be injected for tests or advanced integrations.
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-06-10