PHP Classes

gCurl: Perform HTTP requests using Curl

Recommend this page to a friend!
  Info   View files View files (10)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 61%Total: 1,237 All time: 3,093 This week: 89Up
Version License PHP version Categories
gcurl 2BSD License5.2HTTP, PHP 5


This package can be used to perform HTTP requests using the Curl library.

It can send HTTP GET, POST, HEAD or OPTIONS requests directly or via HTTP proxy servers that may require authentication. It supports cookies and custom headers.

The request response may be retrieved all at once or passed to a custom response handler class. It can process the returned headers and cookies. It can also handle request redirection.

Picture of Grigori Kochanov
Name: Grigori Kochanov is available for providing paid consulting. Contact Grigori Kochanov .
Classes: 7 packages by
Country: Ukraine Ukraine
Age: 45
All time rank: 1845 in Ukraine Ukraine
Week rank: 288 Down5 in Ukraine Ukraine Equal
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Files folder imagegCurl (5 files)
Accessible without login Plain text file demo1.php Example Simpliest demo of pagckage use
Accessible without login Plain text file demo2.php Example See headers and cookies of the response
Accessible without login Plain text file demo3.php Example Basic browser emulation
Accessible without login Plain text file demo4.php Example Response handlers for CURL-based crawlers
Accessible without login Plain text file demo5.php Example POST request

  Files folder image Files  /  gCurl  
File Role Description
  Accessible without login Plain text file gcurl.class.php Class core class
  Accessible without login Plain text file gCurlRequest.class.php Class prepare HTTP Requests
  Accessible without login Plain text file gCurlResponse.class.php Class process HTTP response headers and assingn handlers
  Accessible without login Plain text file URI.class.php Class URI parsing
  Accessible without login Plain text file gksException.class.php Class interface for all my exception classes

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:3,093
This week:89Up
 User Ratings  
 All time