问题
I am new in zend, so i installed zfTool from here
I use the composer for installing the tool, the command is :
composer require zendframework/zftool:dev-master
But when i run the command : php zf.php version
For example i got this error : Could not open input file: zf.php
so please if someone has any idea i will be very appreciative.
回答1:
If you downloaded using composer, you can access the command line of ZfTool
as:
vendor/bin/zf.php
For example, to get version:
vendor/bin/zf.php version
来源:https://stackoverflow.com/questions/21829616/could-not-open-input-file-zf-php