Skip to content

An opinionated typescript generator for your Laravel projects

Notifications You must be signed in to change notification settings

Returnless-com/typescript-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Typescript Generator

This package allows you to generate typescript types from your PHP classes.

Installation

{
  "require": {
    "returnless/typescript-generator": "dev-main"
  },
  "repositories": [
    {
      "type": "git",
      "url": "https://github.com/Returnless-com/typescript-generator.git"
    }
  ]
}

Usage

Running the compiler directly

$typescriptGenerator = new \Returnless\TypescriptGenerator\TypescriptGenerator();

$output = $typescriptGenerator->generate('...class-string...');

About

An opinionated typescript generator for your Laravel projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages