Download and install the composer in windows

While working on the project its hard to download the packages/dependencies or required libraries and if you are working on PHP then its very hard to manage your dependencies. Before starting let me introduce your new friend the Composer, Composer is a manager or we can say it a dependency manager that provides the standard to manage the dependencies of PHP application/software. If you are working on PHP after a long time and you are still not familiar with Composer then trust me the composer is your best friend while working on projects. We can save our time by using the composer to download the packages or dependencies, many frameworks and application required composer before starting on their environment like Laravel.

Today we are going to download and install the composer on our windows machine. First, go to the official website of composer and hit the download button and find the   Composer-Setup.exe 


Once you download the setup then click on it and begin your installation, hit the next button it will ask you “Choose the command-line PHP you want to use”  hit the Next button again.



If you are using the proxy then click the checkbox button and define your proxy then hit the Next button, if you are not using the proxy just click on the Next button.



Now it will show you the PHP version just hit the next button, I am currently using the latest PHP version 7.2



Once again hit the Next button and finish your installation.

Now go to your search panel in windows and type cmd, it’s your command prompt open it.



Now simply type composer it will show you the composer version.





Managing packages while working on projects is very hard especially if you are working on PHP so why you waste your time to download the packages OR dependencies form their sites, Using Composer you can download your packages and dependencies with a simple command (depend on which package you want to download). We can diminish our time to download the packages and libraries within a few second using composer.


My Name is Shehzad Ahmed and I am a full-time developer with over 7+ years of experience. In that time, I’ve worked as a developer with many big and small firms and was teaching web design and development skills to many keen learners and by the time passes I’ve found a great passion and potential on myself as a teacher on this particular field and now I am a full-time teacher and working as a freelancer. Web design and development constantly developing every day with new trends, ideas, and innovations. That’s why nowadays you need to learn and keep yourself up-to-date with everything daily and that’s what I do and that is something that I love because I am so passionate about it! When I have spare time I use to give time to my web development community. Teaching kids, managing online programming groups, attending a conference and making blogs, I like keeping myself up-to-date and engaged in my field always. I have my expertise in (PHP, Codeigniter, Laravel, Bootstrap, WordPress, SQL, Query Optimization, Data Science and Design Patterns). Anyone who wants to learn and know anything about web development and design I am always available for that and would love to help out. I always love to be looking out for new things and that is why I spend a lot of my time learning new techniques and helping other people learn web development and design through various groups and web development tutorials as well as online courses.

Leave a Reply

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

WhatsApp chat