Install Composer in XAMPP/WAMP Windows

Leave a Comment
Composer Installation for windows users is very easy. All you need to do is just download .exe installer file from the Composer site.
Here is the .exe installer link to download Composer-Setup.exe
Once you downloaded .exe file, then click on it to continue installation and follow the default Composer installation instructions.

You can also install the Composer using curl using following command

php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('SHA384', 'composer-setup.php') === 
'e115a8dc7871f15d853148a7fbac7da27d6c0030b848d9b3dc09e2a0388afed865e6a3d6b3c0fad45c48e2b5fc1196ae')
 { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } 
echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"

Once you successfully installed the Composer. Then open your command prompt then type composer and press enter in the terminal you will get following response like in the below image.

0 comments:

Post a Comment