ama/symfony-mongo-maker-bundle
Composer 安装命令:
composer require ama/symfony-mongo-maker-bundle
包简介
Mongo documents, DTO and controllers crud makers with nelmio-api-doc autogenerated
README 文档
README
Mongo bundle - development in progress...
This bundle is my first one, for private projects for the moment. Link to my repo here
It implements two symfony commands :
1 - mongo:make:document --nocrud name
* name is optionnal, it will be ask as first question if it's not provided
* --nocrud prevent creation of document and a controller and creates only the DTO class
2 - mongo:make:controller (with no option, allow to create controllers not linked to a document - usefull for gateways api)
The maker works as the symfony original maker for orm entities:
It will ask the name of the document (or controller) and then, for each property :the name, the type and if it is nullable Then, it will create a document, a functionnal crudcontroller and a dto class If --nocrud option is not provided, the document and the controller are implemented with nelmio basic documentation to create a swagger
统计信息
- 总下载量: 82
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: mit
- 更新时间: 2023-08-25