unialteri/curl-request

This package is abandoned and no longer maintained. The author suggests using the teknoo/curl-request package instead.

Allow you to create and execute HTTP Requests with cURL in POO context. Fork from zeroem/curl-bundle

1.0.5 2016-08-04 21:26 UTC

This package is not auto-updated.

Last update: 2022-02-01 12:44:23 UTC


README

SensioLabsInsight Build Status

Welcome and thank you to having downloaded this library. This library allows you to easily create and execute HTTP Requests with cURL. It was a fork from zeroem/curl-bundle". Symfony dependencies has been removed, and this lib has been redesigned.

Simple example

$generator = new Teknoo\Curl\RequestGenerator();

$request = $generator->getRequest();

//Fetch the URL http://teknoo.it with a GET Method.
$request->setUrl('http://teknoo.it')
    ->setMethod('GET');
    
echo $request->execute();    

Installation & Requirements

To install this library with composer, run this command :

composer require teknoo/curl-request

This library requires :

  • PHP 5.4+
  • cUrl extension

Quick Howto

Quick How-to to learn how use this library : Startup.

API Documentation

Generated documentation from the library with PhpDocumentor : Open.

Credits

About Teknoo Software

Teknoo Software is a PHP software editor, founded by Richard Déloge. Teknoo Software's DNA is simple : Provide to our partners and to the community a set of high quality services or software, sharing knowledge and skills.

License

States is licensed under the MIT and GPL3+ Licenses - see the licenses folder for details

Contribute :)

You are welcome to contribute to this project. Fork it on Github