2017 © Pedro PelĂĄez
 

library curl

Curl Wrapper

image

alc/curl

Curl Wrapper

  • Friday, January 27, 2017
  • by chemel
  • Repository
  • 1 Watchers
  • 0 Stars
  • 294 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 5 % Grown

The README.md

Curl

Curl Wrapper, (*1)

 Install via composer

Edit your composer.json file to include the following:, (*2)

{
    "require": {
        "alc/curl": "dev-master"
    }
}

Usage


use Alc\Curl\Curl; $curl = new Curl(); // GET request $response = $curl->get('http://httpbin.org/get'); var_dump( $response->getStatusCode() ); print_r( $response->getJson() ); // POST request $response = $curl->post('http://httpbin.org/post', array('var1' => 1, 'var2' => 2)); print_r( $response->getJson() );

The Versions

27/01 2017

dev-master

9999999-dev https://github.com/chemel/curl

Curl Wrapper

  Sources   Download

MIT

curl http

27/01 2017

v1.1.2

1.1.2.0 https://github.com/chemel/curl

Curl Wrapper

  Sources   Download

MIT

curl http

30/12 2016

v1.1.1

1.1.1.0 https://github.com/chemel/curl

Curl Wrapper

  Sources   Download

MIT

curl http

07/12 2016

1.1.x-dev

1.1.9999999.9999999-dev https://github.com/chemel/curl

Curl Wrapper

  Sources   Download

MIT

curl http

07/12 2016

v1.1.0

1.1.0.0 https://github.com/chemel/curl

Curl Wrapper

  Sources   Download

MIT

curl http