Maral
20
Q:

update composer

php composer.phar self-update
1
 To update composer command just find location of composer.phar and update as:
 where composer 	#Retrieves you location of your composer.phar
 cd path_to_composer.phar #Move to directory with composer.phar
 php composer.phar self-update	#Update your composer
0
php composer.phar update
1

New to Communities?

Join the community