zend framework2 - How to get the ZFTool working? -
the zftool isn't working (anymore) on debian vm.
$ zf /usr/local/bin/zf $ ls -lia /usr/local/bin/ | grep "zf" ... zf -> /usr/share/.composer/vendor/bin/zf.php $ cd /usr/share/.composer $ composer info | grep "zftool" zendframework/zftool v0.1.0 utility module zend framework 2 applications. $ echo $composer_home /usr/share/.composer
now when start it:
$ zf create module foo or $ $composer_home/vendor/bin/zf.php create module foo or $ php $composer_home/vendor/bin/zf.php create module foo
i error:
reason failure: invalid arguments or no arguments provided
so cannot run zftool jobs config
, classmap generate
etc.
what issues caused , how zftool working?
you're providing incorrect arguments says. error coming withing zf2 you're triggering it, there's there's no -h option.
try
./vendor/zendframework/zftool/zf.php
or
./vendor/bin/zf.php
no arguments , within root directory, you'll list of options.
Comments
Post a Comment