Asked 2 years ago
23 Feb 2022
Views 680
debugger

debugger posted

how to upgrade composer 1 to 2


Warning from https://packagist.org: Support for Composer 1 is deprecated and some packages will not be available. You should upgrade to Composer 2. See https://blog.packagist.com/deprecating-composer-1-support/


how to upgrade composer version 1 to 2
shyam

shyam
answered Feb 23 '22 00:00


composer selfupdate --2


but some may be some get following error
Command "selfupdate" is not defined.
rajiv

rajiv
answered Feb 23 '22 00:00

this command may work :

composer update


Post Answer