Skip to content
This repository has been archived by the owner on Sep 11, 2020. It is now read-only.

DEPRECATED 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.

TeknooSoftware/curl-request

 
 

Repository files navigation

Teknoo Software - Curl Request library

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

About

DEPRECATED 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.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%