Ok a few things you need to do here.
The first windows do not have a curl processor such as unix, so you need to use another option to install Composer
php -r "eval('?>'.file_get_contents('https://getcomposer.org/installer'));"
To do this, you need the php.exe processor to be in your path, so you have 2 options. Either add the folder c:\wamp\bin\php\phpx.yz to your PATH, or my preferred option is to write yourself a small .cmd file that will do it for you like this
addphp.cmd PATH=%PATH%;c:\wamp\bin\php\phpx.yz
Place this file in a folder already registered on your path so that you can run it from anywhere in the command window.
Now you will need to edit the file \ wamp \ bin \ php \ phpx.yz \ php.ini. This is similar to the one used by php code running through the Apache web server but only used by the PHP command line CLI interpreter (CLI)
Make sure the php_curl extension is uncommented or the line above does not work, that is, delete the comment character ;
extension=php_curl.dll
So, now run the cd command window in the folder where you want to install the composer and execute the command above, and then follow the rest of the installation instructions on the Installation Instructions
Riggsfolly
source share