Skip to content
Related Articles

Related Articles

How to Install PHP Composer on Windows?

View Discussion
Improve Article
Save Article
Like Article
  • Difficulty Level : Hard
  • Last Updated : 26 Nov, 2021

Composer is essentially a package manager for PHP. A package manager is, it allows anyone to import codebases into the project & keep them up to date. It just helps you to manage those dependencies. 

In this article, we will look into the process of installing a composer on a windows system.

Installation PHP composer on Windows:

Follow the below steps to install PHP composer on a windows system: 

Step 1: Navigate to the official composer website.

Step 2: Then click on the Download button.

downloading composer

Step 3: Then click on the Composer-Setup.exe & download the file.

downloading composer

Step 4: Then click on “Install for all users”.

setup mode

Step 5: Do not make any changes & click Next

Step 6: First, you have to install PHP in your computer. You can see the installation location here. Click Next.

Step 7: Do not make any changes & click Next.

Step 8: Do not make any changes & click Install.

click on the install button

Step 9: Wait for the installation.

installing composer on windows

Step 10: Do not make any changes, just leave it & click Next.

Click on next

Step 11: Click Finish, Composer is installed successfully.

Composer installation completed.

Step 12: Open command prompt & execute the below command :

composer

verify composer installation

Hence you can see all details & your installation is successful.

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!