0

I want instaler the LexikFormFilterBundle but when I made the command composer update in the console I got this error even though the call is set : Cannot run program "composer" (in directory "C:\wamp\www\esen-ecommerce"): CreateProcess error=2, Le fichier spécifié est introuvable

enter image description here

Shabbir Dhangot
  • 8,954
  • 10
  • 58
  • 80

1 Answers1

1

You can use

C:\bin>echo @php "%~dp0composer.phar" %*>composer.bat

set path=%path%;c:\bin

assuming that c:\binis the path where composer.phar is located

Sources:

https://getcomposer.org/doc/00-intro.md#installation-windows

Is there any way to install Composer globally on Windows?

Community
  • 1
  • 1
Richard
  • 1,045
  • 7
  • 11