PHP Classes

PHP HTTP protocol client: HTTP client to access Web site pages

Recommend this page to a friend!
  Info   View files Example   Screenshots Screenshots   View files View files (12)   DownloadInstall with Composer Download .zip   Reputation   Support forum (147)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2023-06-01 (8 days ago) RSS 2.0 feedStarStarStarStar 69%Total: 47,144 This week: 20All time: 6 This week: 9Down
Version License PHP version Categories
httpclient 1.0.8BSD License3Networking, HTTP, Web services
Description 

Author

Class that implements requests to Web resources using the HTTP protocol.

It features:

- May submit HTTP requests with any method, to any page, to any server, connecting to any port.
- Provides support to setup connection and request arguments from a given URL.
- May submit requests via a proxy server with support for authentication if necessary.
- May establish connections via a SOCKS server.
- Supports HTTP direct access or proxy based authentication mechanisms via SASL class library like HTTP Basic, HTTP Digest or NTLM (Windows or Samba).
- Support secure connections (https) via Curl library with SSL support, or at least PHP 4.3.0 with OpenSSL support, or via a non-SSL HTTP proxy server.
- Supports accessing secure pages using SSL certificates and private keys using Curl library
- Supports user defined request headers.
- Supports POST requests with a user defined array of form values.
- Supports POST requests with a user defined request bodies for instance for making requests to SOAP services.
- Supports streaming requests that require uploading large amounts of data of undefined length in small chunks to avoid exceeding PHP memory limits
- Supports requests to sites hosting virtual Web servers.
- Retrieves the HTTP response headers and body data separately.
- Support HTTP 1.1 chunked content encoding
- Supports session and persistent cookies.
- Provides optional handling of redirected pages.
- Supports defining connection and data transfer timeout values.
- Can output connection debug information in plain text or formatted as HTML.
- An add-on class is provided to login to Yahoo sites and perform actions on the behalf of the logged users like exporting the user address book or sending invitation to a group.

Recommendations

Recommendation for a PHP class to access faucet pay
Access Faucet Pay API

Microsoft Text to Speech PHP API program
Microsoft text to speech PHP API program

Link Checker
Find broken links in a Web site

Multiple search engine search retrieval and storage
Need a engine to query different search engines

Upload file to directory of my server with download link
How I can upload this file to my server with download link

Access file and get response from hosted domain to localhost
Send variable values from localhost to a PHP script in a domain

What is the best PHP http client class?
HTTP client for PHP version 5.3

Picture of Manuel Lemos
  Performance   Level  
Name: Manuel Lemos is available for providing paid consulting. Contact Manuel Lemos .
Classes: 45 packages by
Country: Portugal Portugal
Age: 54
All time rank: 1
Week rank: 3 Down1 in Portugal Portugal Equal

Screenshots  
  • httpclient.gif
  Files folder image Files  
File Role Description
Accessible without login Plain text file classmaps.php Aux. Class maps definition
Plain text file http.php Class HTTP class file
Accessible without login Plain text file LICENSE.txt Lic. BSD like license
Accessible without login Plain text file test_cookies.php Test Unit test script to verify cookie manipulation functions
Accessible without login Plain text file test_http.php Example HTTP class test page script
Accessible without login Plain text file test_http_cookies.php Example Script to test cookie support
Accessible without login Plain text file test_http_image_request.php Example Example script on how to request an image from a remote site to made available through a local server
Accessible without login Plain text file test_http_post.php Example Emulate a form submission using HTTP POST submitting form field values including file uploads
Accessible without login Plain text file test_http_soap.php Example Example script on how to make a request to SOAP service
Accessible without login Plain text file yahoo_export_address_book.php Example Script to login in Yahoo and export the user address book
Accessible without login Plain text file yahoo_group_invite.php Example Script to login in Yahoo and invite users to a Yahoo!Groups mailing list
Plain text file yahoo_user.php Class Class to login and access resources for Yahoo registered users

Downloadhttpclient-2023-06-01.zip 33KB
Downloadhttpclient-2023-06-01.tar.gz 29KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
Simple Authentication and Security Layer Download .zip .tar.gz When the HTTP server requires authentication, the SASL package provides support for implementing authentication mechanisms like: Basic, Digest, PLAIN, LOGIN, CRAM-MD5, NTLM (Windows or Linux/Unix with Samba). Conditional
 Version Control Reuses Unique User Downloads Download Rankings  
 92%18
Total:47,144
This week:20
All time:6
This week:9Down
User Ratings User Comments (17)
 All time
Utility:89%StarStarStarStarStar
Consistency:87%StarStarStarStarStar
Documentation:-
Examples:82%StarStarStarStarStar
Tests:79%StarStarStarStar
Videos:-
Overall:69%StarStarStarStar
Rank:444
 
Excellent package.
9 years ago (Diol)
80%StarStarStarStarStar
like it
9 years ago (Samir Das)
80%StarStarStarStarStar
I've been using this class on a client side PHP-GTK2/Gnope GU...
10 years ago (NotInterested)
75%StarStarStarStar
Good ides and job!
11 years ago (Victor Storm)
75%StarStarStarStar
Great class, widely used.
12 years ago (MWL Online)
80%StarStarStarStarStar
Good
13 years ago (kishore kumar)
80%StarStarStarStarStar
stable script, robust but missing explanation of all options/...
14 years ago (Rosetree)
75%StarStarStarStar
Hi, I started using your class instead of Snoopy in my librar...
15 years ago (Kepler Gelotte)
80%StarStarStarStarStar
I really loved you HTTP and yahoo_user classes.
14 years ago (banbuu_nattchan)
72%StarStarStarStar
Wonderful pack!
14 years ago (Alex B. Snet)
80%StarStarStarStarStar
Excellent work, sir - this has saved a huge amount of effort.
14 years ago (Ken)
80%StarStarStarStarStar
This class saved my quite a bit of low-level socket programmi...
14 years ago (Klaus Kuplen)
70%StarStarStarStar
Huge great thanks!
14 years ago (dasdasd)
80%StarStarStarStarStar
Dear php professional that calss is really good but how can w...
14 years ago (Abdulkadir KUCUK)
72%StarStarStarStar
Very useful class
15 years ago (Murilo Klock Ferreira)
80%StarStarStarStarStar
Good Class
15 years ago (Mark Watson)
75%StarStarStarStar
The Lemos HttpClient class is the BEST-OF-THE-BEST (no doubt).
15 years ago (LeoLeo)
75%StarStarStarStar