spatie/laravel-typescript-transformer
Convert PHP classes, enums, and more into TypeScript types automatically. Uses attributes to generate TS from your Laravel code, supports nullable and complex types, generics, and even TypeScript functions—keeping your backend and frontend types in sync.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/typescript-transformer | 0.93 | Automatically generate TypeScript definitions from your PHP/Laravel code. spatie/typescript-transformer scans classes and types, then outputs .d.ts files so your frontend stays in sync with backend models, DTOs and enums with minimal manual typing. | 397 | 395 | 61 | 489K | 0 | 31.9 | 49.7 | MIT | 1 month ago | |
| nolanos/laravel-model-typescript-transfomer | 0.92 | — | 7 | 7 | 4 | 205 | 5 | 2.8 | 21.1 | — | 1 year ago | |
| kiwilan/typescriptable-laravel | 0.90 | — | 39 | 39 | 9 | 2K | 7 | 12.1 | 26.6 | MIT | 1 year ago |
How can I help you explore Laravel packages today?