Abstracting HTTP Clients in PHP - article in PHP Architect magazine
1.12.2016Publication: PHP Architect magazine
Title: Abstracting HTTP Clients in PHP
Links: Article
Many PHP applications are designed as server applications which receive a request and return a response to the client. However, PHP is also used to write API clients. This can be CLI tools written in PHP or server applications which need to talk to another system over HTTP. In this article, we’ll look at a library to abstract out the HTTP client used in your code to keep it flexible and future-proof.
I made the full article available here.