Could not open input file: composer.phar

If you, like me try to use the following command in using composer

 php composer.phar update friendsofsymfony/user-bundle 

and get this error

 Could not open input file: composer.phar

You are probably using Windows command prompt to do the update.

 

Try this instead.

composer update friendsofsymfony/user-bundle

 

 

Similar Posts:

VN:F [1.9.22_1171]
Rating: 8.4/10 (5 votes cast)
Could not open input file: composer.phar, 8.4 out of 10 based on 5 ratings