TypeScript عملی برای توسعهدهنده Laravel
Practical TypeScript for the Laravel Developer
In this series, we are going to learn about the typical situations you will encounter when building a Laravel app with a TypeScript frontend. We'll talk about TypeScript primitives, how to organize your types, when to type, and, ultimately, how to generate types from your PHP code. All signal, no noise!
قسمتهای دوره
Getting Started (2)
مقدمه + راهاندازی
5m 24sStart with TypeScript: learn why it helps, set up your app, and convert the entry point to boost development speed and type safety.
مبانی TypeScript
7m 23sLearn TypeScript basics and core primitives to add type safety to your frontend, and get confident before converting components.
Typing Your Components (4)
Props در Inertia
3m 22sEasily convert Inertia props from PHP to TypeScript - learn practical steps to type your Edit component props and avoid runtime bugs.
درخواستهای فرم
5m 7sUse Inertia's useForm with generics to type form requests, ensuring outgoing submissions match server validation and avoid runtime errors.
ماموریت جانبی: مدیریتکنندههای فرم
2m 43sQuickly fix TypeScript errors in form and input handlers: learn practical techniques to type them in your Edit component and remove red squiggles.
افزودن انواع به Laravel Echo و هوکهای Stream
4m 38sAdd TypeScript types to Laravel Echo and Stream hooks to boost type safety and IDE autocompletion for real-time app development.
Organization and Utilities (2)
همه چیز باید کجا برود؟
6m 18sTidy verbose components: learn practical ways to organize TypeScript types for clearer, reusable code and faster development.
ابزارهای TypeScript
9m 10sMaster TypeScript utilities like Pick, Required, Omit, and Partial to reuse types more effectively - practical examples and clear explanations.
TypeScript Patterns (4)
TS خالص
4m 26sAdd TypeScript type safety to axios and fetch outside components—practical patterns and examples to build safer, clearer HTTP code.
مثال Vue
2m 42sConvert an Edit.vue component to TypeScript — see how Vue enforces type safety with clear, practical examples for real apps.
نوعدهی هوکهای رایج React
5m 46sLearn to type useRef, useState, and useMemo in React with TypeScript—practical tips to make hooks safer and clearer in real apps.
نوعدهی توابع رایج Vue
4m 52sAdd TypeScript safety to Vue's ref and computed—learn practical typings and patterns to make reactive code safer and more predictable.
Automatic Type Generation (2)
تولید انواع با Laravel Data و TypeScript Transformer
9m 7sEasily generate TypeScript types from Laravel Data PHP classes using Spatie packages to save time and keep types in sync.
تولید انواع با Laravel Wayfinder
10m 5sAuto-generate TypeScript types for your Laravel app with Wayfinder—speed up development, keep types synced, and integrate into your workflow.




