~/talk

Zero to API with Lumen

Talkat PHP UK Conference 2018 · 2018-02-14..02-16· [php]

Builds a working REST API using PHP and Lumen, showing routes, Eloquent models, migrations and tests, and notes which Artisan commands are missing. Implements JSON output via a Fractal transformer, simple CRUD endpoints that return 201 and 204 where appropriate, and protects write actions with JWT authentication. Uses Postman for manual requests, demos a Pokemon Pokedex example that wires up validation, location headers and 404s, and claims the prototype takes under an hour to assemble and is easy to maintain.

AI-written summary · about

  1. 0:00Intro
  2. 0:28About Amanda
  3. 1:02What is Lumen
  4. 2:01Why use Lumen
  5. 2:40Microservices
  6. 4:29API
  7. 5:14REST API
  8. 7:05HTTP API
  9. 8:14HTTP Methods
  10. 10:00Homestead
  11. 10:30Installation
  12. 11:00Environment variables
  13. 12:29Routes
  14. 13:10Artisan
  15. 13:32No Serve
  16. 15:26Migrations
  17. 16:36Make
  18. 17:48Resources
  19. 19:20Routing
  20. 21:00Views
  21. 21:46JSON
  22. 22:22Fractal
  23. 23:12JSON Setup
  24. 23:24Controller
  25. 24:45Pokemon
  26. 25:12Status Codes
  27. 25:28Updating Existing Pokemon
  28. 26:01Deleting Items
  29. 27:08Protection Table
  30. 27:55Authentication
  31. 28:44JWT Authentication
  32. 29:21Authentication Layer
  33. 30:17Simple API
  34. 30:34Testing in Lumen
  35. 31:17Additional Resources
~/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.