The CrudFromDoctrine is a utility generate code for Zend Framework 2.
- Create new Controller
- Create new Controlle APIRest
- Create new Form based in Doctrine entity
- Create new Validator for Form based in Doctrine entity
- Zend Framework 2 or later
- ZFTools
- PHP 5.3 or later
Installation using Composer
- Open console (command prompt)
- Go to your application's directory.
- Run
composer require mayconvm/crud-from-doctrine:dev-master
- Execute the
public/index.php
as reported below
index.php create apirest
The name of the controller The name of the module The path to folder of the ZF2 application (optional)