GTool It currently provides the following functionality:
- Module rename
- Zend Framework 2.0.0 RC1 or later.
- PHP 5.3.3 or later.
- Console access to the application being maintained (shell, command prompt)
- Clone using
git
or download zipball. - Extract to
vendor/GTool
in your ZF2 application - Edit your
config/application.config.php
and addGTool
tomodules
array. - Open console and try one of the following commands...
zf.php zfversion display current Zend Framework version
zf.php rename <directoryModule> <NewName>
<directoryModule> The directory to scan for PHP classes (use "." to use current directory)
<NewName> File name for generated class map file or - for standard output.If not supplied, defaults to autoload_classmap.php inside
<directory>.