thecodeisbae/curlmanager

cURL Manager class for easy usage

Installs: 16

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/thecodeisbae/curlmanager

dev-main 2022-08-04 10:51 UTC

This package is auto-updated.

Last update: 2025-10-04 18:06:08 UTC


README

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/'));