Kind
Package plus a Vite plugin; a generator, nothing resident; pre-1.0
Interface
Generated TypeScript: show(1) returns { url, method }; .url(), .form()
Client
Any TypeScript frontend; Inertia's useForm() and Link take the result
Installed by
composer require laravel/wayfinder · npm i -D @laravel/vite-plugin-wayfinder
Voice
wayfinder:generate · --with-form · --skip-actions · --skip-routes
Scales by
Regenerated on every Vite build and file change; the output is disposable
Range
Cloud: yes, at build time; npm run build comes before optimize in the default build
Forge, VPS: yes, in the deploy script; route:clear first if routes were cached
Vapor: yes, in the vapor.yml build steps, before any route:cache