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). by Frank Wallen

This article was originally published in the April 2023 issue of php[architect] magazine. To read the complete article please subscribe or purchase the complete issue.

Leave a comment

Use the form below to leave a comment: