Invoking the binary ./vendor/bin/expressive Windows 10


#1

“.” it is not recognized as an internal or external command,
program or batch file executable.

I’ve read that in Zend Framework, some times files zf.php, zf.bat, are placed to path where is thrown out php cli.

Does anyone know what I should do?

When I try to use:

composer expressive middleware:create “App\XClacksOverheadMiddleware”
Output is:
[Symfony\Component\Console\Exception\CommandNotFoundException]
Command “expressive” is not defined.


#2

Is zendframework/zend-expressive-tooling installed?

composer.json should contain this line in the scripts section: https://github.com/zendframework/zend-expressive-skeleton/blob/dbb3eb675b7081a6c6acd6e97e74c36692357c36/composer.json#L95


#3

Thank You Very Much! It functions.

Yes I’d installed zendframework/zend-expressive-tooling. but my composer.json was incomplete.

Thank You!