Laravel News·14wA new beta of Laravel Wayfinder just dropped
Laravel Wayfinder's new beta automatically generates fully-typed TypeScript from Laravel PHP code, eliminating manual maintenance of route URLs, request types, and API contracts. The update now transforms routes, form requests, Eloquent models, PHP enums, Inertia page props and shared data, broadcast channels and events, and Vite environment variables into TypeScript. Key improvements include automatic TypeScript type generation for Inertia page props, validation-based types that work with Inertia's useForm hook, PHP enum representations, and enhanced Laravel Echo hooks with payload inference. The release introduces two new tools: Surveyor for static code analysis and Ranger for entity discovery with rich DTOs.