Unplug the HTTPlug!
summary
Unplug the HTTPlug! explains HTTPlug, the PHP HTTP client abstraction, and why and how to remove (unplug) it from a project. The talk covers the problems caused by the abstraction and shows concrete approaches for migrating code to use specific HTTP clients directly instead of the HTTPlug interface.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 1:53What is HTTPlug
- 3:58Ecosystem and PSR-18
- 6:02Why abstract HTTP clients
- 7:28Demo with PSRs
- 10:16Discovery component
- 11:42Separation of concerns
- 13:05Decorators and plugins
- 14:30Testing HTTP calls
- 16:56Mock client and matcher
- 18:23Ecosystem benefits
- 19:45Q&A








