spatie/laravel-typescript-transformer
Generate TypeScript types from your Laravel/PHP code. Convert classes, DTOs and enums (with attributes) into accurate TS definitions, supporting nullable fields, complex/generic types, and even TypeScript function generation via a simple CLI/workflow.
|
Package
|
Constraint
|
|---|---|
| illuminate/contracts | ^11.0|^12.0|^13.0 |
| spatie/typescript-transformer | ^3.0 |
|
Package
|
Constraint
|
|---|---|
| friendsofphp/php-cs-fixer | ^3.0 |
| orchestra/testbench | ^9.0|^10.0|^11.0 |
| pestphp/pest | ^3.0|^4.2 |
| pestphp/pest-plugin-arch | ^3.0|^4.0 |
| pestphp/pest-plugin-laravel | ^3.0|^4.0 |
| phpstan/extension-installer | ^1.1 |
| phpstan/phpstan | ^2.0 |
| phpstan/phpstan-deprecation-rules | ^2.0 |
| phpstan/phpstan-phpunit | ^2.0 |
| spatie/laravel-data | ^4.0 |
How can I help you explore Laravel packages today?