2017 © Pedro PelĂĄez
 

library call-curl

Lib to simply use curl with PHP

image

bulton-fr/call-curl

Lib to simply use curl with PHP

  • Friday, June 10, 2016
  • by bulton-fr
  • Repository
  • 1 Watchers
  • 0 Stars
  • 38 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 3 % Grown

The README.md

CallCurl

Lib to simply use curl with PHP, (*1)

Build Status Scrutinizer Code Quality Coverage Status, (*2)

Install with composer

Download composer, (*3)

$ curl -s https://getcomposer.org/installer | php

Add call-curl repository to you composer.json, (*4)

{
    "require": {
        "bulton-fr/call-curl": "@stable"
    }
}

Execute the command, (*5)

$ php composer.phar install

Use in your code

 Default parser : No parse data send and receive

$curl = new \bultonFr\CallCurl\CallCurl;
$curl->setUrl('http://www.github.com');

$dataReceive = $curl->runCall();
$dataHeaders = $curl->getCurlCallInfos();

 With the Json parser

$jsonParser = new \bultonFr\CallCurl\Parser\Json;
$curl       = new \bultonFr\CallCurl\CallCurl($jsonParser, $jsonParser);
$curl->setUrl('http://www.github.com/api');

$dataReceive = $curl->runCall();
$dataHeaders = $curl->getCurlCallInfos();

More explications on wiki, (*6)

The Versions

10/06 2016

1.0.x-dev

1.0.9999999.9999999-dev https://github.com/bulton-fr/CallCurl

Lib to simply use curl with PHP

  Sources   Download

LGPL-3.0

The Requires

  • php >=5.5.0
  • ext-curl @stable

 

The Development Requires

curl php

10/06 2016

dev-master

9999999-dev https://github.com/bulton-fr/CallCurl

Lib to simply use curl with PHP

  Sources   Download

LGPL-3.0

The Requires

  • php >=5.5.0
  • ext-curl @stable

 

The Development Requires

curl php

10/06 2016

1.0.0

1.0.0.0 https://github.com/bulton-fr/CallCurl

Lib to simply use curl with PHP

  Sources   Download

LGPL-3.0

The Requires

  • php >=5.5.0
  • ext-curl @stable

 

The Development Requires

curl php

10/06 2016

1.0.1

1.0.1.0 https://github.com/bulton-fr/CallCurl

Lib to simply use curl with PHP

  Sources   Download

LGPL-3.0

The Requires

  • php >=5.5.0
  • ext-curl @stable

 

The Development Requires

curl php