2017 © Pedro Peláez
 

library curl

PHP curl helper

image

enumit/curl

PHP curl helper

  • Tuesday, September 19, 2017
  • by pukuidavy
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Curl Helper

PHP curl request hepler, (*1)

Handle HTTP requests to the REST API, (*2)

Installation

Use composer, (*3)

composer require enumit/curl

Usage

$curlHelper = new \enumit\curl\CurlHelper();

$res = $curlHelper->setUrl('https://api.mydomain.com/order')
                ->setRequestMethod('PUT')
                ->setHeader(['Content-Type: application/json'])
                ->setQueryData(['order_number'=>'123456', 'amount'=>'154.33'])
                ->send();

The Versions

19/09 2017

dev-master

9999999-dev

PHP curl helper

  Sources   Download

MIT

The Requires

  • php >=5.4
  • ext-curl *

 

by Wei Deng

curl php helper

19/09 2017

1.0

1.0.0.0

PHP curl helper

  Sources   Download

MIT

The Requires

  • php >=5.4
  • ext-curl *

 

by Wei Deng

curl php helper