承接 4h/generatorbundle 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

4h/generatorbundle

Composer 安装命令:

composer require 4h/generatorbundle

包简介

Code generator bundle, that extend symfony's standard sensio generator bundle.

README 文档

README

This is a symfony's sensio generate bundle's extended bundle.

You can generate three things using this generator bundle, it works like sensio generator bundle via command line.

  1. To create consumer run this command:

php app/console generate:consumer --no-interaction --bundleName=[bundleName] --consumerName=[consumerName]

Example:

consumer --no-interaction --bundleName=QuoteWriteBundle --consumerName=Quote

  1. To create controller run this command:

php app/console generate:RESTcontroller --no-interaction --controller=bundleName:controllerName --type=type --action=getall --fields="fields"

Example:

php app/console generate:RESTcontroller --no-interaction --controller=QuoteWriteBundle:Quote --type=write --action=putevent --fields="guid:string tenderGuid:string author:string price:float "

  1. To create document run this command:

php app/console generate:doctrine:document --no-interaction --document=bundleName:documentName --fields="fields" --format=yml

Example:

php app/console generate:doctrine:document --no-interaction --document=QuoteWriteBundle:Quote --fields="guid:string tenderGuid:string author:string price:float " --format=yml

统计信息

  • 总下载量: 89
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-09-16