Skip to content

Latest commit

 

History

History
56 lines (44 loc) · 2.52 KB

1_introduction.md

File metadata and controls

56 lines (44 loc) · 2.52 KB

WameGeneratorBundle

1. Introduction | 2. Getting started | 3. Configuration options | 4. Entity Generation | 5. CRUD Generation | 6. Enum Generation | 7. Form Generation | 8. Voter Generation | 9. Datatable Generation | 10. Overriding twig files | 11. Extending this bundle

Introduction

This bundle is a generator like the SensioGeneratorBundle , with changes to fit specific needs:

  • Conform PHP 7.1 typehints
  • Other options for entity generation:
  • Other options for CRUD generation:
  • Ability to override many more aspects of this bundle

Basic usage is quite similar, but 'doctrine' is replaced with 'wame' in the command names: doctrine:generate:entity becomes wame:generate:entity. Furthermore, not all doctrine-commands are replaced by this bundle and some entirely different commands have been added.

In the table below you can see a quick overview of the commands compared to Sensio:

Sensio WAME
generate:bundle n/a
generate:doctrine:entities n/a
generate:controller n/a
datatable:generate:class n/a
generate:doctrine:entity wame:generate:entity
generate:doctrine:crud wame:generate:crud
generate:doctrine:form wame:generate:form
n/a wame:generate:voter
n/a wame:generate:datatable
n/a wame:generate:enum