2017 © Pedro Peláez
 

library curl

A simple php curl wrapper class.

image

yadakhov/curl

A simple php curl wrapper class.

  • Thursday, February 2, 2017
  • by yadakhov
  • Repository
  • 1 Watchers
  • 1 Stars
  • 208 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Curl

A simple curl wrapper class to perform GET and POST., (*1)

Installation

Install from packagist

composer require yadakhov/curl

Or add to your composer.json, (*2)

    "require": {
        "yadakhov/laradump": "^1.0"
    },

The api interface.

public static getInstance();
public function get($url, array $params = []);
public function post($url, array $params = []);

Perform a GET request

$curl = new \Yadakhov\Curl;
$curl->get('http://example.com');

Perform a POST request

$response = Curl::getInstance()->post('http://example.com', ['id' => '1']);

The Versions

02/02 2017

dev-master

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

A simple php curl wrapper class.

  Sources   Download

MIT

The Requires

  • php >=5.2.0

 

The Development Requires

api curl

02/02 2017

v1.0.1

1.0.1.0 https://github.com/yadakhov/curl

A simple php curl wrapper class.

  Sources   Download

MIT

The Requires

  • php >=5.2.0

 

The Development Requires

api curl

06/08 2016

v1.0

1.0.0.0 https://github.com/yadakhov/curl

A simple php curl wrapper class.

  Sources   Download

MIT

The Requires

  • php >=5.2.0

 

The Development Requires

api curl