PHP Classes
elePHPant
Icontem

EZ Curl: Send HTTP requests with teh Curl extension

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (10)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2011-07-17 (4 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,572 This week: 1All time: 2,359 This week: 1,153Up
Version License PHP version Categories  
easy-curl 1.0GNU General Publi...5.0HTTP, PHP 5
Description Author  

This package can send HTTP requests with the Curl extension.

It is made of several classes that handle different aspects of composing a HTTP request to send to a given Web server and handling the server response.

Currently it provides classes for sending different types of request, gathering POST request values, adding request headers, handling cookies, retrieving the response, interpreting the response status codes, etc..

It can also send multiple parallel requests and handle its responses with callback functions.

Picture of Amir Ali Jiwani
Name: Amir Ali Jiwani <contact>
Classes: 1 package by
Country: Pakistan Pakistan
Age: 26
All time rank: 167822 in Pakistan Pakistan
Week rank: 911 Up19 in Pakistan Pakistan Up

Details provided by the author  
/**
 * @author Amir Ali Jiwani <amir.ali@pi-labs.net>
 * @copyright 2011
 * @link http://www.facebook.com/aajiwani
 * @version 1.0
 */
 
 Easy Curl is the implementation of PHP's curl module in an object oriented way.
 It works for a single request as well as for multiple requests.
 
 1.) Classes to use in package are :
 
 EasyCurlRequest
 EasyCurlResponse
 EasyCurlError
 EasyCurlExecuter
 EasyCurlCookie
 EasyCurlPostParameter
 EasyCurlHeader
 EasyCurlExecuterCallback
 EasyCurlExecuterResult
 
 2.) Helper classes in package are :
 
 EasyCurlHTTPVersion
 EasyCurlRequestType
 EasyCurlExecuterNode
 EasyCurlHTTPCodeInfo
 EasyCurlCookieExtractor
 
 Examples folder contains all the usage samples.
  Files folder image Files  
File Role Description
Accessible without login Plain text file EasyCurl.php Example Example of a single web request
Plain text file EasyCurlCookieHelper.php Class Cookie Helper
Plain text file EasyCurlError.php Class Error
Plain text file EasyCurlExceptions.php Class Exceptions
Plain text file EasyCurlExecuter.php Class Multi threaded curl handler
Plain text file EasyCurlHelperClasses.php Class All the helper classes
Accessible without login Plain text file EasyCurlMultipleExample.php Example Example of multiple web requests
Plain text file EasyCurlRequest.php Class Web request class
Plain text file EasyCurlResponse.php Class Web response class
Accessible without login Plain text file README Doc. Readme

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,572All time:2,359
 This week:1This week:1,153Up