laravel-type-bridge-development

Official

Turn Laravel enums into frontend TypeScript types

AuthorGaiaTools
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Laravel backend enums and translation data often require duplication and manual syncing for frontend apps. This skill automates the generation of TypeScript/JavaScript types and i18n translations from PHP definitions, ensuring consistency and reducing manual toil.

Core Features & Use Cases

  • Generate TypeScript/JavaScript enums from PHP backed enums (including those annotated for generation).
  • Generate frontend i18n translation files from Laravel lang files (TS/JS/vue-i18n/i18next outputs).
  • Produce enum translator composables for seamless frontend usage and consistent translation lookups.

Quick Start

Install the package, publish the config, and run the artisan type-bridge:generate to produce frontend enums and translations.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: laravel-type-bridge-development
Download link: https://github.com/GaiaTools/laravel-type-bridge/archive/main.zip#laravel-type-bridge-development

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.