Package Data | |
---|---|
Maintainer Username: | codeitnowin |
Maintainer Contact: | er.akhtarkhan@gmail.com (Akhtar Khan) |
Package Create Date: | 2017-02-03 |
Package Last Update: | 2017-02-03 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-11 15:17:35 |
Package Statistics | |
---|---|
Total Downloads: | 38 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 7 |
Total Watchers: | 1 |
Total Forks: | 1 |
Total Open Issues: | 0 |
Light weight curl request library by http://www.codeitnow.in, It has setters and getters to make easy to use. You can use Curl Request with any framework like Symfony, Laravel, CackPHP, CodeIgniter, Yii etc. This is alternate of Guzzle and other libraries.
CodeItNow Curl RequestIt can install by composer.
composer require codeitnowin/curlrequestit
You can use Curl RequestIt by adding composer autoload file from vendor folder and then use namespace as given in below example
require_once 'vendor/autoload.php';
use CodeItNow\Curl\RequestIt;
$request = new RequestIt();
$request->setUrl('http://localhost')
->setParams(array("name"=>"CodeItNow", "library"=>"CurlRequestIt"))
->send('POST');
print_r($request->getResponse());