oi-lab/oi-laravel-ts
A Laravel package that automatically generates TypeScript interfaces from your Eloquent models, with relationship support, custom casts, DataObjects, PHPDoc types, watch mode, and namespace filters for customization.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| nolanos/laravel-model-typescript-transfomer | 0.85 | Generates TypeScript definitions for Laravel Eloquent models via spatie/laravel-typescript-transformer. Maps database column types to TypeScript, respects hidden/visible fields, handles nullable columns, and works with php artisan typescript:generate. | 0 | 7 | — | 275 | — | 1.8 | 33.7 | — | — | |
| abetwothree/laravel-ts-publish | 0.85 | A Laravel package for publishing TypeScript definitions from your application. It streamlines keeping PHP and TypeScript types in sync, reducing manual duplication and helping frontend and backend stay aligned in TypeScript-powered Laravel projects. | 6 | — | 1 | — | 35 | 30.6 | 14.3 | MIT | 1 week ago | |
| vagebond/runtype | 0.85 | Runtype brings lightweight runtime type checking to PHP and Laravel. Define expected types and validate values as your app runs, catching mismatches early and making data flow safer and clearer without relying solely on static analysis. | 26 | 26 | 3 | 2K | 1 | 9.3 | 29.5 | MIT | 7 months ago | |
| spatie/typescript-transformer | 0.85 | Convert PHP classes, enums, and DTOs into TypeScript types with spatie/typescript-transformer. It supports complex types, generics, and generated TypeScript functions, making frontend/backend type sharing simple. | 403 | 404 | 59 | 1M | 0 | 29.6 | 54.5 | MIT | 2 months ago | |
| irstea/ng-model-generator-bundle | 0.84 | A Symfony bundle that generates Angular/TypeScript model classes from Doctrine entities, helping keep frontend and backend data structures in sync. Automate model creation for API-driven Angular apps and reduce manual boilerplate. | 0 | 0 | — | 0 | — | 0.0 | — | — | — | |
| irontec/typescript-generator-bundle | 0.84 | Symfony bundle that generates TypeScript definitions from PHP classes, helping keep backend models and frontend types in sync. Automate interface generation for APIs and DTOs, improve IDE autocomplete, and reduce type duplication. Ideal for Symfony apps needing consistent frontend/backend contracts. | 3 | — | 10 | — | 1 | 0.7 | — | EUPL-1.1 | 1 year ago | |
| wendelladriel/laravel-validated-dto | 0.84 | Validated DTOs for Laravel: extend ValidatedDTO, declare typed properties and validation rules, and get validated, cast, type-safe data objects from request payloads. Includes built-in casts and config publishing for cleaner controllers. | 774 | 774 | 46 | 54K | 1 | 26.3 | 28.0 | MIT | 5 months ago | |
| spatie/laravel-data | 0.84 | Spatie Laravel Data lets you define rich data objects once and reuse them as form requests, API transformers, and TypeScript definitions. It supports automatic validation, resource transformation, lazy properties, and constructing objects from request data. | 1,801 | 1,815 | 293 | 4M | 6 | 51.4 | 63.7 | MIT | 1 week ago | |
| inertiajs/inertia-laravel | 0.84 | The official Laravel adapter for Inertia.js. Build modern single-page apps using classic server-side routing and controllers—no API boilerplate. It serves JSON page props to Vue, React, or Svelte frontends while Laravel handles routing, middleware, and validation. | 2,487 | 2,494 | 292 | 9M | 1 | 56.4 | 58.6 | MIT | 4 days ago | |
| diephp/laravel-resources-typescript | 0.84 | — | 3 | 3 | 0 | 91 | 0 | 0.1 | 19.0 | MIT | — | |
| janit/typescript-generator-bundle | 0.84 | A Symfony bundle that generates TypeScript definitions from PHP classes, helping keep frontend and backend types in sync. It automates type generation so TypeScript clients stay aligned with your application models. | 16 | 16 | 5 | 0 | 1 | 0.4 | — | MIT | — | |
| foxbytehq/laravel-inertia-dataproviders | 0.84 | Laravel Inertia Data Providers lets you organize page props into reusable provider classes, keeping Inertia responses clean and predictable. Define and compose structured data from Laravel controllers to your frontend with less boilerplate. | 26 | 27 | 1 | 108 | 1 | 8.6 | 10.7 | MIT | 7 months ago | |
| nytodev/inertia-bundle | 0.84 | A Laravel package that simplifies setting up Inertia.js in your applications. It bundles the configuration, middleware, and scaffolding needed to build modern single-page apps with Vue or React while preserving Laravel routing and controllers, so you can get started faster with less boilerplate. | 28 | 28 | 2 | 3K | 0 | 19.8 | 31.5 | MIT | 2 weeks ago | |
| kiwilan/typescriptable-laravel | 0.83 | — | 39 | 39 | 9 | 2K | 7 | 12.1 | 27.7 | MIT | 1 year ago | |
| mannikj/laravel-sti | 0.82 | — | 6 | 6 | 1 | 222 | 0 | 9.1 | 20.9 | MIT | 1 year ago | |
| infyomlabs/laravel-generator | 0.82 | — | 3,810 | 3,827 | 828 | 17K | 68 | 60.0 | 36.8 | MIT | 3 years ago | |
| danielemontecchi/laravel-userstamps | 0.81 | — | 1 | 1 | 0 | 168 | 0 | 0.0 | 26.7 | MIT | — | |
| sansanlabs/laravel-userstamps | 0.81 | — | 2 | 2 | 0 | 20 | 0 | 21.0 | 14.0 | MIT | 4 months ago | |
| spatie/laravel-typescript-transformer | 0.81 | Convert PHP classes, enums, and complex types into TypeScript definitions automatically. This Laravel package handles generics, nullable types, and even TypeScript functions, keeping your frontend and backend types in sync. | 400 | 399 | 37 | 1M | 0 | 25.1 | 52.8 | MIT | 4 months ago | |
| user11001/eloquent-model-generator | 0.81 | — | 91 | 96 | 14 | 43 | 6 | 3.7 | 4.6 | MIT | 11 months ago |
How can I help you explore Laravel packages today?