spatie/laravel-typescript-transformer
Convert PHP classes, enums, and more into TypeScript types automatically in Laravel. Mark PHP code with attributes, handle complex types and generics, and generate TS-friendly definitions (and even functions) to keep frontend types in sync.
|
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?