Описание тега http-request2
The HTTP_Request2 package is a rewrite of HTTP_Request in PHP5 and makes it easier for PHP applications to perform HTTP requests.
As per the documentation:
HTTP_Request2 package provides an easy way for PHP applications to perform HTTP requests. It supports a large subset of Hypertext Transfer Protocol features, and can be used for the following:
- Working with web services (numerous PEAR packages in Web Services category are using HTTP_Request2 under the hood);
- Checking the validity of web links;
- Grabbing and parsing remote web pages;
- Automated form submission.
This was introduced with the PHP5 rewrite of the HTTP_Request module. The latest stable release is 2.3.0, released on 2016-02-13. It can be easily installed using the following command:
pear install HTTP_Request2