spatie/typescript-transformer
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.
|
Package
|
Constraint
|
|---|---|
| phpstan/phpdoc-parser | ^2.3 |
| roave/better-reflection | ^6.41 |
| spatie/file-system-watcher | ^1.1 |
| spatie/php-structure-discoverer | ^2.2 |
| symfony/process | ^7.0|^8.0 |
|
Package
|
Constraint
|
|---|---|
| friendsofphp/php-cs-fixer | ^3.0 |
| pestphp/pest | ^3.0|^4.0 |
| pestphp/pest-plugin-arch | ^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/ray | ^1.41 |
| spatie/temporary-directory | ^2.1 |
How can I help you explore Laravel packages today?