constantable/odm-document-maker 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

CI Status Latest Version

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

GitHub 信息

  • Stars: 4
  • Watchers: 2
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-06-17