Here's How to Easily Install Composer on Windows, Let's Listen!

Here's How to Easily Install Composer on Windows, Let's Listen!

Geekers - Composer is a dependency manager tool that exists in PHP. The dependency itself is defined if the programming language project you are working on still requires a library taken from outside. Well, this is where the role of composer is used, composer can be a liaison between your PHP project and libraries that you download from outside.


You can also use the dependency manager to retrieve or create a library for PHP projects that you work on on library collection pages such as packagist.org. This page is a site that provides various libraries that you can use to develop your PHP program.



By using the help of dependency manager tools, you can connect to the packagist.org page and you can upload or download a library from there.


How to Install Composer on Windows


To be able to enjoy Composer services, you must first install the Composer application. That way, you can take or create a library.


The other benefits of this composer are that you can make PHP coding more structured when you use the Model View Controller concept, the packages you need when creating a PHP project will be automatically installed and updated without you having to manually install them again and many other benefits. you can get using this Composer application.



In this article I will explain how to install composer on Windows 10. Here are the ways to install composer on Windows.


1. In order to install the Composer application, you must first download the application. You can download the composer application file on the official composer page. You can click here to download it. After finishing downloading the composer application, double-click on the composer setup program that you downloaded earlier.


How to Install Composer on Windows How to Install Composer on Windows


2. Then the Select Setup Install Mode window will appear. To install the composer program, you will be asked to choose between two modes. Click on the button Install for all users (recommended).


install composer install composer


3. Next you will be asked to select the type of installation. Here you can choose Developer Mode or not. You can tick developer mode if you want to use that type of installation. In this tutorial, I didn't choose developer mode. Therefore click the Next button.


How to Install Composer on Windows Completely How to Install Composer on Windows Completely


4. Then you have to provide a location for the php.exe file which you will later use on the Command line or PHP CLI. The php.exe file will generally be located in the PHP folder. And if you are currently using the XAMPP program, the location of the file is C:\xampp\php. So you have to make sure first to choose the installation location of the composer at C:\xampp\php\php.exe. If the location is correct, then click the Next button. And don't forget to check Add this PHP to your path?.


install composer install composer



5. Then wait a few moments until the checking process is complete.


install composer install composer


6. Next you will be asked to provide a proxy URL address, if you don't need it then click the Next button.


The easiest way to install Composer on Windows. The easiest way to install Composer on Windows


7. Then check the installation location, if it is as it should be and is correct, then click the Install button to start installing it.


install composer install composer


8. Then click Next.


install composer install composer


9. Now, the Composer application has been successfully installed. Click Finish to finish it.


install composer install composer


10. To check whether Composer has been successfully installed, open a Command Prompt and type the composer command. Then it will look like in the image below.


install composer install composer


Thus the article that explains how to install Composer on Windows. Hopefully this article can help you in developing your PHP program for the better.



MORE TUTORIALS

   * How to Change Language on Laptop for Windows 10 Users

   * 2 Ways to Overcome "DNS Server Address Could Not Be Found"

   * How to Make Text in Photoshop + How to Edit It

   * How to Speed Up IDM Downloads which are proven successful

Previous Post Next Post