项目作者: ConnectxWeb

项目描述 :
Symfony bundle to convert entities into Angular TS files.
高级语言: PHP
项目地址: git://github.com/ConnectxWeb/entity-angular-bundle.git
创建时间: 2019-07-23T12:52:06Z
项目社区:https://github.com/ConnectxWeb/entity-angular-bundle

开源协议:MIT License

下载


Entity to Angular bundle for Symfony

Symfony bundle to convert entities into Angular TS files.

Requirements

  • Symfony 4 (not yet tested with Symfony 3 but it should work)
  • PHP 5 or higher

Installation

Install the bundle library via Composer by running the following command:

  1. composer require connectx/entity-angular-bundle

If you’re using Symfony (4) Flex, the bundle will be automatically enabled. For older apps, enable it in your AppKernel class.

Generate Angular models

In a terminal execute:

  1. cd root_of_my_project
  2. php bin/console cx:gen:ts

All entities will be generated in a folder named “angular” at root level of your project.

License

This bundle is under the MIT license.

About

This bundle is a ConnectX initiative.

Reporting an issue or a feature request

Issues and feature requests are tracked in the Github issue tracker.