定制 snsina/curlist 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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"
OR
  • 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.php

Supported 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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-09-07