setup composer in windows 10 code example
Example 1: composer 2 install in windows 10
composer self-update --2
Example 2: install composer
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
composer self-update --2
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"