Composer on Windows

Oct 24, 2014

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 Composer-Setup.exe file. The installer wizard should look something like this.

![Composer-Setup wizard launched](https://res.cloudinary.com/darryl/image/upload/v1484740542/dhla3pw750irjkcerihw.png)
Click Next.

Now the setup wizard should look something like this.

![Composer-Setup setup two](https://res.cloudinary.com/darryl/image/upload/v1484740525/yaabsejqkbwxtcdjzoqz.png)
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](https://res.cloudinary.com/darryl/image/upload/v1484740515/cdjwzsgo18csyu2j4dgk.png)
For WAMP users.

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

For XAMPP users.

C:\xampp\php\php.exe

Composer Setup step four

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](https://res.cloudinary.com/darryl/image/upload/v1484740480/kjhsisfdsovoay8bepxl.png)
Now you can open Command Prompt and enter the command `composer`
![Composer in CMD](https://res.cloudinary.com/darryl/image/upload/v1484740459/zozttlkedfzmt11m385u.png)
Now you have Composer installed on your system.

You can find your Composer and PHP install path by entering where command

![Where CMD](https://res.cloudinary.com/darryl/image/upload/v1484740450/fot7bttc2ugrph1sw5jt.png)

If you like this content, please consider buying me a coffee.

Buy me a coffeeBuy me a coffee

You will get access to contributer exclusive resources and content.

Thank you!



Darryl Dias

I am a student, artist, and author currently living in Florida. My interests range from technology to arts. I am also interested in programming, writing

Analytics by GoSquared