Skip to content

ConnectxWeb/entity-angular-bundle

Repository files navigation

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:

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.