6 Laravel packages tagged “codegen”

Most downloaded: devwizardhq/laravel-enumify, with 2,048 downloads and 7 GitHub stars. Ranked by total downloads — use the controls below to sort by stars, most recently updated, or name.

devwizardhq/laravel-enumify

Auto-generate TypeScript enums and types from Laravel PHP enums with an Artisan command and Vite integration.
7 2,048

dragosstoenica/laravel-zod

Generate Zod v4 TypeScript schemas from Spatie Laravel Data classes (output) and Laravel FormRequest classes (input). Full Laravel rule coverage, schema references for nested Data classes, lazy-ref dedup for circular relations, locale-aware messages.
1 1,555

codewithagents/openapi-laravel

Generate Laravel models (spatie/laravel-data classes, validation rules, enums) from an OpenAPI spec. The spec is the source of truth.
3 1,018

oybek-daniyarov/laravel-trpc

End-to-end type-safe APIs for Laravel. Like tRPC, but for Laravel + TypeScript.
274

hemilrajput/laravel-typegen

Generate TypeScript types from Eloquent models, Enums & FormRequests.
2 29

isaiasg3/laravel-inertia-type-sync

Automatic End-to-End Type Safety between Laravel (FormRequests/JsonResources) and TypeScript for Inertia.js + Vue 3 apps.
2