无法打开输入文件:zf.php

无法打开输入文件:zf.php

问题描述:

我是 zend 新手,所以我从 这里安装了 zfTool

I am new in zend, so i installed zfTool from here

我用composer安装工具,命令是:

I use the composer for installing the tool, the command is :

composer require zendframework/zftool:dev-master

但是当我运行命令时:php zf.php version

例如我得到这个错误:无法打开输入文件:zf.php所以,如果有人有任何想法,我将不胜感激.

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.

如果你是用 composer 下载的,你可以访问 ZfTool 的命令行为:

If you downloaded using composer, you can access the command line of ZfTool as:

vendor/bin/zf.php

例如获取版本:

vendor/bin/zf.php version