~/talk

Consuming HTTP APIs in PHP the Right Way!

Talkat API Platform Conference 2024 · 2024-09-19..09-20· [php, api-design]
slides:none on file

Shows concrete code using symfony/http-client and php-http/discovery to build a PSR-18/PSR-17 based PHP SDK that creates requests, streams uploads and SSE responses (used for OpenAI-style streams), and handles concurrent deletes by scheduling lazy responses. Demonstrates a community fix that reduces 2k open connections→almost zero and explains how the composer plugin installs missing client so an SDK can require only virtual packages. Claims work in practice but adoption lags: ~30,000 packages require Guzzle while only ~354 use the discovery approach.

AI-written summary · about

  1. 0:00Introduction to HTTP client
  2. 1:10Practical code examples
  3. 4:36Concurrent requests
  4. 6:37Configuration and setup
  5. 9:51Community-driven performance
  6. 12:21Advanced streaming features
  7. 14:08Extended client capabilities
  8. 15:37Core benefits and design
  9. 19:07Interoperability in PHP
  10. 21:15Challenges with current SDKs
  11. 27:16Discovery for interoperability
  12. 29:58Implementing PSR-18 clients
  13. 33:04Composer automation magic
  14. 35:47Call to action for adoption
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.