PHP Classes
elePHPant
Icontem

curl Master: Send HTTP requests using the curl extension

Recommend this page to a friend!
  Info   View files Documentation   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2017-05-18 (10 days ago) RSS 2.0 feedStarStarStarStar 65%Total: 215 This week: 9All time: 7,822 This week: 78Up
Version License PHP version Categories
curlmaster 1.0.4Custom (specified...5HTTP, PHP 5
Description Author

This class can send HTTP requests using the curl extension.

It can take a given URL and sends a HTTP GET request to respective Web server.

For HTTPS URLs it uses a given certification authority file and verifies the server certificate.

The HTTP request response is returned as a string.

  Performance   Level  
Name: Peter Kahl <contact>
Classes: 19 packages by
Country: Hong Kong Hong Kong
Age: ???
All time rank: 8314 in Hong Kong Hong Kong
Week rank: 8 Up1 in Hong Kong Hong Kong Up
Innovation award
Innovation award
Nominee: 6x

Details

curlMaster

Simple curl wrapper. At the moment, only method GET.

Usage

use peterkahl\curlMaster\curlMaster;

$curlm = new curlMaster;
$response = $curlm->get_curl('http://some.url/blah.blah');
if (!empty($response)) {
  echo $response;
}

When using HTTPS:

use peterkahl\curlMaster\curlMaster;

$curlm = new curlMaster;

# Specify location of CA certificate file
$curlm->ca_file = '/srv/certs/ca-bundle.crt';

$response = $curlm->get_curl('https://some.secure.url/blah.blah');
if (!empty($response)) {
  echo $response;
}
  Files folder image Files  
File Role Description
Files folder imagesrc (1 file)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  src  
File Role Description
  Plain text file curlMaster.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:215
This week:9
All time:7,822
This week:78Up
User Ratings User Comments (1)
 All time
Utility:93%StarStarStarStarStar
Consistency:93%StarStarStarStarStar
Documentation:93%StarStarStarStarStar
Examples:-
Tests:-
Videos:-
Overall:65%StarStarStarStar
Rank:692
 
nice
1 month ago (muabshir)
70%StarStarStarStar