aristonet/entity-to-model-bundle

它将 doctrine 实体转换为 typescript 模型

v1.0.2 2023-02-17 22:09 UTC

This package is auto-updated.

Last update: 2024-09-18 01:38:32 UTC


README

Aristonet EntityToModelBundle 是将 doctrine 实体转换为 typescript 模型的最快方式。

安装

要安装库,请使用Composer,PHP 包管理器

composer require aristonet/entity-to-model-bundle

用法

php bin/console convert:entitytomodel
php bin/console convert:entitytomodel --modelDir=path/to/models
php bin/console convert:entitytomodel --className=Order
php bin/console convert:entitytomodel --className=Order --modelDir=path/to/models

作者

Niculae Niculae