Mtool is a magento code-genarator which should help magento-developers with their daily tasks. It uses zend tool framework.
zf create mage-module Namespace/ModuleName
Will create all needed paths, files and configs.
Or see how to create a custom module with CRUD using MTool here
My fork is an extended version of dankockerga's MTool
Currently all changes is unstable and to use it you will need to switch to develop branch
Added:
create mage-controller
- create controller by url path,admin/examlple
creates admin controller,example/index
- frontendcreate mage-table-entity
- create model / resource model / collection files and config datacreate mage-crud
- create controller, grid and edit data files, add needed data to layoutadd-admin-layout mage-design
andadd-frontend-layout mage-design
- can add layouts for adminhtml and frontend.create mage-test target-module test-path
andadd mage-test type entity-path
- add ecomdev test cases.mage-block
,mage-helper
andmage-model
methods now have optionalwith-test
parameter to generate test file automatically
Fixed:
- correct installer path when upgrade mage-module
- do not rewrite existed data.
- generated comments are now shorter
See in the Wiki