constantable/odm-document-maker
最新稳定版本:1.0
Composer 安装命令:
composer require constantable/odm-document-maker
包简介
The ODM Document Maker helps you create Doctrine ODM Documents
README 文档
README
The ODM Document Maker helps you create Symfony Doctrine ODM Documents
Installation
composer require constantable/odm-document-maker
Maker
The constantable:make-document command creates or updates a document and repository class.
php bin/console constantable:make-document BlogPost
If the argument is missing, the command will ask for the document class name interactively.
You can also mark this class as an API Platform resource. A hypermedia CRUD API will automatically be available for this document class:
php bin/console constantable:make-document --api-resource
You can also generate all the getter/setter/adder/remover methods for the properties of existing documents:
php bin/console constantable:make-document --regenerate
To overwrite any existing methods:
php bin/console constantable:make-document --regenerate --overwrite
You can create an EmbeddedDocument class:
php bin/console constantable:make-document --embedded
统计信息
- 总下载量: 4.25k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-06-17