a dua estapas de instalação ocorrem sem problemas:
php C:\ProgramData\ComposerSetup\bin\composer.phar install (OK!)
e
php C:\ProgramData\ComposerSetup\bin\composer.phar require zendframework/zftool:dev-master (OK!)
tenho todas as pastas e arquivos atualizados, quando testo pelo servidor php na pasta public a pagina ca zend carrega normalmente:
php -S localhost:8080 (OK!)
o problema esta no momento de testar a zf.php tanto na pasta vendor\bin\ quanto na vendor\zendframework\zftool\
php zf.php version da erro:
Error: I cannot find the autoloader of the application.
Check if C:\xampp\htdocs\ZendSkeletonApplication\vendor\bin contains a valid ZF2 application.
pelo que entendi, o php não esta aceitando a barra " \ " e espera a barra "/" porque tambem da a seguinte menssagem:
C:\xampp\htdocs\ZendSkeletonApplication\vendor\bin>php zf.php version
dir=$(d=${0%[/\]*}; cd "$d"; cd "../zendframework/zftool" && pwd)
See if we are running in Cygwin by checking for cygpath program
if command -v 'cygpath' >/dev/null 2>&1; then
Cygwin paths start with /cygdrive/ which will break windows PHP,
so we need to translate the dir path to windows format. However
we could be using cygwin PHP which does not require this, so we
test if the path to PHP starts with /cygdrive/ rather than /usr/bin
if [[ $(which php) == /cygdrive/* ]]; then
dir=$(cygpath -m $dir);
fi
fi
dir=$(echo $dir | sed 's/ /\ /g')
"${dir}/zf.php" "$@"