Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1.05 KB

README.md

File metadata and controls

42 lines (29 loc) · 1.05 KB

Crud-from-doctrine

The CrudFromDoctrine is a utility generate code for Zend Framework 2.

Features

  • Create new Controller
  • Create new Controlle APIRest
  • Create new Form based in Doctrine entity
  • Create new Validator for Form based in Doctrine entity

Requiriments

  • Zend Framework 2 or later
  • ZFTools
  • PHP 5.3 or later

Installation using Composer

  1. Open console (command prompt)
  2. Go to your application's directory.
  3. Run composer require mayconvm/crud-from-doctrine:dev-master
  4. Execute the public/index.php as reported below

Usage

Create Controller APIRest

index.php create apirest

The name of the controller The name of the module The path to folder of the ZF2 application (optional)

TODO

  • Create new validator for Form
  • Create folder Model
  • Create new Model
  • Create layout for Form based in Bootstrap
  • Create layout for inputs of Form based in Bootstrap