iggi/curlrequest
Composer 安装命令:
composer require iggi/curlrequest
包简介
A helper class to quickly launch your curl requests.
README 文档
README
Installation
Install the latest version with
$ composer require iggi/curlrequest
Basic Usage
<?php use Iggi\CurlRequest; $curlRequest = new CurlRequest(); $response = $curlRequest->get("https://ignatisd.gr/hello")->exec(); print_r($response->toArray()); /* array( "activeCookies" => string[][], "cookies" => string[][], "code" => number, "headers" => string[], "error" => string, "timing" => string, "body" => string ) */
Author
Ignatios Drakoulas - ignatisnb@gmail.com - https://twitter.com/ignatisd
License
CurlRequest is licensed under the MIT License - see the LICENSE file for details
统计信息
- 总下载量: 42
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-10-28