web-atrio / schema-export-bundle
Symfony3 架构导出命令(JSON和TypeScript)
0.3
2017-05-16 12:30 UTC
Requires
- symfony/symfony: ~2.8|~3.0
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许可证下授权。