web-atrio/schema-export-bundle

Symfony3 架构导出命令(JSON和TypeScript)

安装: 23

依赖: 0

建议者: 0

安全: 0

星标: 0

关注者: 3

分支: 0

开放问题: 0

类型:symfony-bundle

0.3 2017-05-16 12:30 UTC

This package is not auto-updated.

Last update: 2024-09-29 02:39:16 UTC


README

Symfony3 架构导出命令(JSON和TypeScript)

安装

此扩展包与Symfony 2.8/3.0或更高版本兼容。

使用Composer

Symfony >= 2.8

composer require web-atrio/schema-export-bundle

在您的 AppKernel.php 中注册命令

new WebAtrio\Bundle\SchemaExportBundle\SchemaExportBundle(),

用法

TypeScript 导出

php bin/console web-atrio:schema:generate:ts {your generate path}

JSON 导出

php bin/console web-atrio:schema:generate:json {your generate path}

作者

Steve Ferrero

许可证

SchemaExportBundle 在MIT许可证下授权。