Download the PHP package spatie/laravel-typescript-transformer without Composer
On this page you can find all versions of the php package spatie/laravel-typescript-transformer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download spatie/laravel-typescript-transformer
More information about spatie/laravel-typescript-transformer
Files in spatie/laravel-typescript-transformer
Package laravel-typescript-transformer
Short Description Transform your PHP structures to TypeScript types
License MIT
Homepage https://github.com/spatie/typescript-transformer
Informations about the package laravel-typescript-transformer
Transform PHP to TypeScript
This package allows you to convert PHP classes and more to TypeScript.
This class...
... will be converted to this TypeScript type:
Here's another example.
The Languages enum will be converted to:
And that's just the beginning! TypeScript transformer can handle complex types, generics and even allows you to create TypeScript functions.
You can find the full documentation here.
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you've found a bug regarding security please mail [email protected] instead of using the issue tracker.
Credits
- Ruben Van Assche
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-typescript-transformer with dependencies
illuminate/contracts Version ^11.0|^12.0|^13.0
spatie/typescript-transformer Version ^3.0