connectx/entity-angular-bundle

Symfony bundle to convert entities into Angular TS files.

1.1 2019-07-25 07:43 UTC

This package is auto-updated.

Last update: 2020-08-25 11:10:33 UTC


README

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:

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:

cd root_of_my_project
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.