Download the PHP package birjemin/curl without Composer
On this page you can find all versions of the php package birjemin/curl. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download birjemin/curl
More information about birjemin/curl
Files in birjemin/curl
Download birjemin/curl
More information about birjemin/curl
Files in birjemin/curl
Vendor birjemin
Package curl
Short Description 一个轻量级的PHP网络操作类,实现GET、POST、PUT、DELETE常用操作,出错自动重试,支持链式写法
License MIT
Homepage https://github.com/birjemin/curl
Package curl
Short Description 一个轻量级的PHP网络操作类,实现GET、POST、PUT、DELETE常用操作,出错自动重试,支持链式写法
License MIT
Homepage https://github.com/birjemin/curl
Please rate this library. Is it a good library?
Informations about the package curl
关于
PHP-Curl是一个轻量级的网络操作类,实现GET、POST、PUT、DELETE常用操作,支持方法链写法。参考https://github.com/wenpeng/curl
(✿✿ヽ(°▽°)ノ✿),取消了file文件的上传和下载,增加了put,delete方法,传输协议取消form-data
。
需求
有时候仅仅是使用http请求get,post,put请求而已,使用guzzlephp
composer包太重,所以参考了这个包做了一下简化。
依赖
PHP 5.6+
示例
或者
GET:
POST:
PUT:
DELETE:
配置
参考:http://php.net/manual/en/function.curl-setopt.php
自动重试
content-type协议
默认协议Content-Type:application/x-www-form-urlencoded
, 可使用Content-Type:application/json
结果
参考
https://github.com/wenpeng/curl
https://laravel-china.org/articles/7956/a-small-pit-in-developing-api-with-laravel
All versions of curl with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.6
ext-curl Version *
ext-curl Version *
The package birjemin/curl contains the following files
Loading the files please wait ....