codeitnowin/curlrequestit
Composer 安装命令:
composer require codeitnowin/curlrequestit
包简介
Light weight curl request library by http://www.codeitnow.in, It has setters and getters to make easy to use. You can use Curl Request with any framework like Symfony, Laravel, CackPHP, CodeIgniter, Yii etc. This is alternate of Guzzle and other libraries.
README 文档
README
Light weight curl request library by http://www.codeitnow.in, It has setters and getters to make easy to use. You can use Curl Request with any framework like Symfony, Laravel, CackPHP, CodeIgniter, Yii etc. This is alternate of Guzzle and other libraries.
Installation -
CodeItNow Curl RequestIt can install by composer.
composer require codeitnowin/curlrequestit
Uses -
You can use Curl RequestIt by adding composer autoload file from vendor folder and then use namespace as given in below example
Example - Request:
require_once 'vendor/autoload.php'; use CodeItNow\Curl\RequestIt; $request = new RequestIt(); $request->setUrl('http://localhost') ->setParams(array("name"=>"CodeItNow", "library"=>"CurlRequestIt")) ->send('POST'); print_r($request->getResponse());
统计信息
- 总下载量: 47
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 7
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-02-03