tanchengjin/curl
Composer 安装命令:
composer require tanchengjin/curl
包简介
php curl operation
README 文档
README
install 安装
composer
composer require tanchengjin/curl
using 使用
TanChengjin\Curl\Curl::request($url, $https = false, $post = false, array $data = []);
chain 链式方法
$curl=new TanChengjin\Curl\Curl();
#get
$curl->setUrl(url)->setHttps()->get();
or
$curl->get(url,$https=true);
#post
$curl->setUrl(url)->setHttps()->post();
or
$curl->post(url,true,[postData]);
统计信息
- 总下载量: 12
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-04-16