snsina/curlist

This package is abandoned and no longer maintained. No replacement package was suggested.

A PHP package for using curl

Installs: 8 541

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:bundle

dev-master 2016-08-13 15:49 UTC

This package is not auto-updated.

Last update: 2022-08-09 23:51:46 UTC


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);