~/talk

Symfony Runtime: wrapping API Platform in a lambda

Talkat API Platform Conference 2021 · on Friday, 2021-09-10· [php, serverless]
slides:none on file

Symfony Runtime (Symfony 5.3) packages any PHP app as a closure that returns a closure, letting a pluggable runtime supply arguments and handle return values so apps no longer read superglobals. It uses an autogenerated autoload_runtime (composer plugin) and a resolver/runner convention to map PSR‑7/PSR‑15 or HttpFoundation apps to engines like PHP‑FPM, RoadRunner, ReactPHP, Bref/AWS Lambda or Swoole (~50% boost); Tobias already supplies many runtimes so it works today.

AI-written summary · about

  1. 0:00Introduction
  2. 1:05What is Symfony Runtime
  3. 3:54Decoupling from global state
  4. 7:24Wrapping apps in a box
  5. 10:58Benefits of runtime component
  6. 13:05Swapping infrastructure
  7. 15:55PSR-7 example
  8. 18:04Under the hood
  9. 22:20Extending runtimes
  10. 25:27Solving return value challenge
  11. 28:18Five critical steps
  12. 30:46Comparison with Laravel Octane
  13. 32:52Future possibilities
  14. 34:19Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.