zendframework/ZFTool — pull request #73 by adeelnawaz (2013-10-03 13:26:03+00:00)
Title: Added batch file for windows. This file makes it possible for windows us...

...ers to execute commands with "zf2" keyword, such as:

zf2 version
zf2 modules
..etc.

zf.php or zftool.phar are not executables in windows command prompt, so one cannot use them as direct commands and cannot make them globally available.
Dependencies:
php.exe environment variable
zf.php

This file uses "php" PATH environment variable and assumes that php has been registered as global command by adding php's directory to PATH environment variable. Failing this assumption should result in an error: php is not recognized as an internal or external command, operatable program or batch file.

Windows users can add the path of this file's directory to their PATH environment variable and use zf2 commands anywhere to create / maintain ZF2 projects.