clarence/restful
Composer 安装命令:
composer require clarence/restful
包简介
A RESTful client, especially for async requests.
README 文档
README
A RESTful client, especially for async requests.
Install
From Composer
composer require clarence/restful
From github
git clone git@github.com:Clarence-pan/restful.git
Usage
Talk is cheap. Show the code:
use Clarence\Restful\Curl\CurlRestClient; // Do a GET request $data = ['test' => 'test', 'hello' => 'world!']; $jsonResponse = $restClient->get('http://localhost:8888/server/echo-globals.php', $data)->json(); // then use the $jsonRespose....
统计信息
- 总下载量: 192
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-02-27