Requests : Handy HTTP Library for PHP

Requests for PHP
Requests is a HTTP library written in PHP, for human beings. It is roughly based on the API from the excellent Requests Python library. Requests is ISC Licensed (similar to the new BSD license) and has no dependencies, except for PHP 5.2+.

Despite PHP’s use as a language for the web, its tools for sending HTTP requests are severely lacking. cURL has an interesting API, to say the least, and you can’t always rely on it being available. Sockets provide only low level access, and require you to build most of the HTTP response parsing yourself.

 

[button color=”red” size=”medium” link=”http://requests.ryanmccue.info/” target=”blank” ]Requests for PHP [/button]

 

Requests : Handy HTTP Library for PHP
5 (100%) 1 vote

Leave a Reply