~/talk

A bit of Alchemy: How we use Vite at Laravel

Talkat ViteConf 2025 · 2025-10-09..10-10· [php, typescript]
slides:none on file

Laravel demonstrates a Vite plugin called Wayfinder Vite plugin that statically analyzes a Laravel app, watches a subset of files, and regenerates TypeScript artifacts on change. It generates TypeScript imports for routes, model types, PHP enums, validation shapes, websocket events and env vars, turns server route objects into method+URL callables, and intentionally breaks the bundle when types diverge. The package is usable without Inertia, targets end-to-end type safety, and enters beta next month.

AI-written summary · about

  1. 0:00Introduction to Laravel
  2. 1:30Understanding Inertia
  3. 4:32Introducing Wayfinder
  4. 6:52Wayfinder in action
  5. 14:30Type-safe integrations
  6. 17:04Conclusion and setup
~/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.