2017 © Pedro Peláez
 

bundle curlist

A PHP package for using curl

image

snsina/curlist

A PHP package for using curl

  • Saturday, August 13, 2016
  • by snsina
  • Repository
  • 1 Watchers
  • 0 Stars
  • 4,603 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 7 % Grown

The README.md

curlist

This is a small library for sending/receiving requests/responses to/from a remote URL using curl in PHP.
website: http://www.snsina.com, (*1)

Frameworks

Curlist can be installed and used in Symfony 2, Zend Framework 2 and any modern framework which supports namespace and composer., (*2)

Installation

To install run either if following commands in the root directory of project., (*3)

  • composer require "snsina/curlist":"dev-master"

OR, (*4)

  • 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, (*5)

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();, (*6)

// get $curl->get($url, array $options, $headers);, (*7)

//post $curl->post($url, array $options, $headers);, (*8)

```, (*9)

The Versions

13/08 2016

dev-master

9999999-dev

A PHP package for using curl

  Sources   Download

MIT

The Requires

  • php >=5.3

 

by Siavash Namvar

curl php zend framework symfony