Skip to content

kaz29/cakephp-ts-export-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TsExport plugin for CakePHP

A command to output the typescript interface for CakePHP entities.

Installation

You can install this plugin into your CakePHP application using composer.

The recommended way to install composer packages is:

composer require --dev kaz29/cakephp-ts-export-plugin

Usage

bin/cake export_entity --all

Example

bin/cake export_entity  Users
/**
 * User entity interface
 */
export interface User {
  id: number
  name: string
  email: string
  password: string
  created?: string
  modified?: string
}

Author

Kazuhiro Watanabe - cyo [at] mac.com - https://twitter.com/kaz_29

License

TsExport plugin for CakePHP is licensed under the MIT License - see the LICENSE file for details

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages