Could not open input file: zf.php [duplicate]

2019-09-02 02:47发布

This question already has an answer here:

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条回答
The star\"
2楼-- · 2019-09-02 03:35

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
查看更多
登录 后发表回答