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
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/laravel-typescript-transformer | 0.90 | 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. | 388 | 383 | 36 | 478K | 0 | 30.5 | 49.4 | MIT | 1 month ago | |
| nolanos/laravel-model-typescript-transfomer | 0.90 | — | 7 | 7 | 4 | 205 | 5 | 2.8 | 21.1 | — | 1 year ago | |
| kubawerlos/php-cs-fixer-custom-fixers | 0.74 | Custom fixers for FriendsOfPHP PHP-CS-Fixer. Install via Composer, register the Fixers set, then enable individual rules to enforce additional style conventions (e.g., prefer class constants, remove leading global namespace slashes, tidy PHPDoc params). | 242 | 243 | 26 | 343K | 5 | 28.8 | 50.5 | MIT | 2 months ago | |
| spatie/phpunit-snapshot-assertions | 0.73 | Add snapshot testing to PHPUnit. Save expected output (JSON, arrays, strings, etc.) on first run and automatically compare on later runs to catch regressions with minimal assertions. Includes handy traits and snapshot update workflow for tests. | 697 | 700 | 74 | 607K | 0 | 29.7 | 45.9 | MIT | 3 months ago | |
| pedrotroller/php-cs-custom-fixer | 0.71 | Custom fixers for PHP-CS-Fixer. Adds rules like ordering Behat context step definition methods by annotation and method name, with options for detecting context classes. Install via Composer and register the fixers in your .php_cs(.dist) config. | 82 | 83 | 10 | 18K | 4 | 16.2 | 40.1 | — | 10 months ago | |
| wyrihaximus/async-test-utilities | 0.71 | Async testing utilities for PHP/React: extend AsyncTestCase to run each PHPUnit test inside a Fiber with a default 30s timeout. Includes TimeOut attribute (class/method), plus helpers like random namespaces/directories and callable expectation utilities. | 4 | 4 | 0 | 73K | 1 | 31.8 | 64.8 | MIT | 3 days ago | |
| wyrihaximus/test-utilities | 0.71 | A set of PHP test utilities for package development: a PHPUnit TestCase with helpers like random namespaces and temp directories, plus ready-made configuration defaults for PHPStan and Rector (paths and docblock-to-attribute conversions). | 7 | 7 | 1 | 145K | 6 | 34.0 | 69.9 | MIT | 3 days ago |
How can I help you explore Laravel packages today?