Composer on Windows

Composer is a cross-platform tool for dependency management in PHP. It allows you to declare the dependent libraries your project needs and it will install them in your project for you. Composer is very easy to use and makes web development even more faster and easier on Windows. To install Composer all you need is PHP compiler installed your Windows machine.

First lets get Composer-Setup.exe for Windows.

Once you are done downloading Composer-Setup.exe need to execute the <code class="highlighter-rouge">Composer-Setup.exe file. The installer wizard should look something like this.

Composer-Setup wizard launched

Click Next.

Now the setup wizard should look something like this.

Composer-Setup setup two

Click next. If you prefer not installing Shell Menus.

Now Composer-Setup wizard would ask you for the path where PHP is located.

Composer-Setup step three

For WAMP users.

“`
C:\wamp\bin\php\php5.5.12\php.exe
“`

For XAMPP users.

“`
C:\xampp\php\php.exe
“`

![Composer Setup step four](https://res.cloudinary.com/darryl/image/upload/v1484740501/ec8ymser4lk1pa71bwtu.png)

Once you have entered the correct PHP path you can click Next. Now Composer will download the required files and setup on your Windows system.

Composer-Setup step five

Now you can open Command Prompt and enter the command <code class="highlighter-rouge">composer

Composer in CMD

Now you have Composer installed on your system.

You can find your Composer and PHP install path by entering <code class="highlighter-rouge">where command

Where CMD

Published by Darryl

A visual effects artist and compositor, self learner, Linux enthusiast and Programmer and can write in Python and Rust. Contributor to open source projects.

Leave a comment

Your email address will not be published. Required fields are marked *