J. Yossra
J. Yossra

Reputation: 1

how to update composer in symfony2

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

Upvotes: 0

Views: 346

Answers (1)

Richard
Richard

Reputation: 1055

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?

Upvotes: 1

Related Questions