Steps To Install Composer In Windows
Here are the steps to install the composer in Windows and i am doing it in Windows 7
Option 1 -
1. Download the exe file through below given url
Download Link - <a href="https://getcomposer.org/Composer-Setup.exe">Click here to download</a>
2. Run the exe file and follow the instruction.
3. After successful installation, Open the terminal and type composer
This screen means all set. Yot can do whatever you want to do with composer ....
Option 2 - if you want to do it manually
1. Go to the link i.e. https://getcomposer.org/download/ and download the composer.phar manually.
2. Now create a .bat file of composer so that windows can read it
C:\bin>echo @php "%~dp0composer.phar" %*>composer.bat
C:\bin is the path where i download the composer.phar.
3. Add the directory to your PATH environment variable if it isn't already i.e C:\bin
4. Now open the terminal and type composer and result must be same.
If you don't know, how to add environment variables in windows, check it - https://www.youtube.com/watch?v=jyGUrROq7gU