Requests for PHP
▻http://requests.ryanmccue.info
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.
We all have better things to do. That’s why Requests was born.
Des requêtes #http en #php sans #curl... Cela m’aurait bien aidé il y a quelques années ;-)