Skip to content

thecodeisbae/cURLManager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cURLManager

An simple cURL call manager with PHP

The Class main function is the call function which as 5 overloads :
 cURLManager::call($link)
 cURLManager::call($link,$method)
 cURLManager::call($link,$method,$resultJson)
 cURLManager::call($link,$method,$resultJson,$data)
 cURLManager::call($link,$method,$resultJson,$data,$headers)
 cURLManager::call($link,$method,$resultJson,$data,$headers,$resultFlag)

Basic Usage

require_once('vendor\autoload.php');
use thecodeisbae\cURLManager;

function debug($args)
{
 echo '<pre>',print_r($args,1),'</pre>';
}

debug(cURLManager::call('https://randomuser.me/api/'));

About

An simple cURL call manager with PHP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages