snsina/curlist
Composer 安装命令:
composer require snsina/curlist
包简介
A PHP package for using curl
README 文档
README
This is a small library for sending/receiving requests/responses to/from a remote URL using curl in PHP.
website: http://www.snsina.com
Frameworks
Curlist can be installed and used in Symfony 2, Zend Framework 2 and any modern framework which supports namespace and composer.Installation
To install run either if following commands in the root directory of project.- composer require "snsina/curlist":"dev-master"
- php composer.phar require "snsina/curlist":"dev-master"
Set Options
You may refer to this page for having options: http://php.net/manual/en/function.curl-setopt.phpSupported request methods
- GET: supported
- POST: supported
- PUT: will be supported soon
- DELETE: will be supported soon
How to use
``` use Snsina\Curlist\CurlSvc; .... $curl = new CurlSvc();// get $curl->get($url, array $options, $headers);
//post $curl->post($url, array $options, $headers);
统计信息
- 总下载量: 8.68k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-09-07