PHP Architect · Vol 22, Issue 4 · April 2023
PSR Pickup: PSR-18: HTTP Client
by Frank Wallen
This month we will look at PSR-18, the HTTP Client. Use of APIs has grown significantly over the years, from providing sports stats and news headlines to driving the backend of websites, processing payments, and conversations with AI chatbots. Separated services like these give us greater control of content, and resources, and improved performance through asynchronous requests. This article will not be covering API design but rather the design around the consumer of APIs. However, I recommend some talks presented at Tek that you will want to attend to learn more about APIs: Matthew Turland’s “OpenAPI: More Than Documentation” and Tim Bond’s “Attackers want your data and they’re getting it from your API” on Day 2 (Wednesday), and Ian Littman with “API Design Patterns for the REST of Us” on Day 3 (Thursday).
The full article is in PHP Architect Vol 22, Issue 4. Subscribe to read it and every new issue.