Answers.Body: <p>There are third-party code generators, such as the <a href="https://github.com/boboldehampsink/element-type-generator" rel="nofollow">Element Type Generator</a> or the <a href="https://github.com/timkelty/generator-craft-plugin" rel="nofollow">Craft Plugin Generator</a></p>
  
  <p>You also have the <a href="http://buildwithcraft.com/docs/plugins/migrations" rel="nofollow">migration tools</a> that generate code. Using the querygen command you can output Records as db query commands.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-06-22T18:35:01.037Z
Answers.LastActivityDate: 2015-06-22T19:10:33.127Z
Answers.LastEditDate: 2015-06-22T19:10:33.127Z
Answers.UserDisplayName: Bob Olde Hampsink
Answers.Body: <p>I believe you're referring to <a href="http://www.yiiframework.com/doc/guide/1.1/en/topics.gii" rel="nofollow">Gii</a>, Yii's CRUD code generation tool.  We specifically removed that from Craft.</p>
  
  <p>I'm not aware of any Craft-specific code generation tools.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-09-23T07:44:47.477Z
Answers.Text: Sad to hear, this is a big plus in the yii world
Answers.UserDisplayName: Honsa Stunna
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-04-24T14:49:15.087Z
Answers.LastActivityDate: 2015-04-24T14:49:15.087Z
Answers.UserDisplayName: Brad Bell
Body: <p>There is Yii demo tutorial at <a href="http://www.yiiframework.com/screencasts/" rel="nofollow">http://www.yiiframework.com/screencasts/</a> that uses the Yii Code Generator. Are there similar Code Generator tools in Craft?</p>
  
Tags: <plugin-development>
Title: Are there any tools for Craft similar to the Yii Code Generator?
ThreadText: # Are there any tools for Craft similar to the Yii Code Generator?
  
  (Asked by: username_0 on 2015-04-24)
  
  There is Yii demo tutorial at <http://www.yiiframework.com/screencasts/> that uses the Yii Code Generator. Are there similar Code Generator tools in Craft?
  
  **Tags:** plugin-development
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2015-06-22. Score: 3
  
  There are third-party code generators, such as the [Element Type Generator](https://github.com/username_1/element-type-generator) or the [Craft Plugin Generator](https://github.com/timkelty/generator-craft-plugin)
  
  You also have the [migration tools](http://buildwithcraft.com/docs/plugins/migrations) that generate code. Using the querygen command you can output Records as db query commands.
  
  
  ---
  
  ### Answer by username_2 on 2015-04-24. Score: 2
  
  I believe you're referring to [Gii](http://www.yiiframework.com/doc/guide/1.1/en/topics.gii), Yii's CRUD code generation tool. We specifically removed that from Craft.
  
  I'm not aware of any Craft-specific code generation tools.
  
  > **Comments:**
  > **username_3**: Sad to hear, this is a big plus in the yii world  
  
  ---
  
  