img

How to Install Composer on Windows 10

A composer is a PHP dependency manager, it is a tool that is very useful to manage your application dependencies. It helps to Install and update required libraries of your application. It is very useful and effective tool of PHP development.
Packagist is the main Composer repository, where you can find expressive collection of PHP libraries that are available through Composer.
Requirements to Install Composer
Composer is a PHP dependency manager therefore it is required that you must have already installed PHP on your Windows before installing of Composer.
There are various ways to install PHP on your windows, you can either directly download PHP from the internet or you can install XAMPP on your Windows, I have shared a separate tutorial on how to install XAMPP on Windows 10/11.

XAMPP is a complete package which comes with Apache, MariaDB, PHP and Perl. It is very useful tool for PHP development.

Steps to Install Composer on Windows
Follow the below step by step guide to install Composer on Windows 10 / 11.
Step 1: Go to the Composer official website and click on Download button
Install Composer on Windows
Step 2: Click on Composer-Setup.exe to download composer set up file.
Composer Windows Installer
Step 3: Double click to execute composer set up file and click on install for all users option.
Composer Installer
Step 4: Additionally, popup may come up on Windows, just click on Yes button to move ahead.
Step 5: Installation Options, do not make any changes in this step, just click on Next Button.
Composer Installation
Step 6: Settings Check, It will select your PHP location be default, if it does not so select your PHP location like below.
Settings Check
Step 7: Proxy Settings, leave the default settings and click on Next button.
Proxy Settings
Step 8: Ready To Install, Composer is now ready to install and display the setting summary, click on Install button.
Ready to Install
Step 9: Once the installation is completed. It will display a information page, click Next button.
Information
Step 10: Finally, you will see the completing Composer screen, just click on Finish button.
Composer Installed
Now you have successfully installed composer on your Windows 10 / 11. Now we need to check if composer is installed or not.
Run the following command on Command Prompt.
composer –version
You can see the below screen of your current composer version.
Composer Version



Download Source Code'; Watch Demo

Let's connect!

Send us a Message Now! We will respond within 24 hours!

Looking for the Best IT Providers, Get In Touch with us

We are committed to improving lives, unlocking potentials and fulfilling destines

Contact Us