~/talk

Enjoying Laravel Data

Talkat Laracon US 2023 · 2023-07-19..07-20· [php, data-engineering]
slides:none on file

Spatie's Laravel-Data provides a single data-object definition that replaces duplicate attribute lists across form requests, API resources and front-end types, inferring validation from typed properties and supporting nested objects and lazy loading. A CLI typescript-transform generates matching TypeScript (demo shows ~106 types from a large domain, ~900 lines) and V4 previews add route scanning plus an action helper for fully typed route calls. Package is battle-tested (2M+ downloads), powers Flare and works with Inertia and Livewire v2, reducing repetitive boilerplate.

AI-written summary · about

  1. 0:00Introduction and background
  2. 2:56Problem with data structures
  3. 4:24Introducing Laravel Data
  4. 8:40Simple demo with Contact Data
  5. 11:53Replacing form requests and API resources
  6. 15:50Real-world use case in Flare
  7. 20:50Preview of Laravel Data V4
  8. 24:04Closing and future plans
  9. 27:36Q&A session
~/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.