How to install Composer on Windows 10

Windows Articles

How to install KVM on Debian 10?

Hello friends, in this post I will show you how to install KVM on Debian 10. KVM stands for...

How to open Windows 10 Mobility Center

Hello! There are many types of users of Windows 10. As it depends on the type of hardware used. That is, the...

Ubuntu 20.04.1 available

Canonical, the company led by Mark Shuttleworth, releases Ubuntu 20.04.1. It has a new image, with updates and security patches for the...

How to install Linux Kernel 5.8 on Ubuntu 20.04?

Upgrading the Linux Kernel can be a beneficial task, but it is always optional. Recently we talked about the Linux Kernel 5.8...

How to activate XPS Viewer in Windows 10

Hey, what's up! When working with Windows 10 we probably use a lot of files. Indeed, these files have many extensions. For...

Composer is an application-level package manager for the PHP programming language. Its main function is to manage or administer all those libraries that a project needs. This way you don’t have to download it one by one from the provider’s website. Additionally, it provides a standard format for managing PHP software dependencies and required libraries. In other words, it allows you to download packages from a repository to add them to your project, as well as dependencies that have such packages. Consequently, being a very useful tool, let’s see how to install Composer in Windows 10.

Prerequisite

It is essential to have a web server installed. In this case, we will work with Apache. You must also have PHP installed. In the links I just provided you explain in detail how to install each one.

Downloading Composer

To download Composer just go to its official website, and download the latest version. To download Composer just go to its official website, and download the latest version of Composer Setup.

Download the latest version of Composer Setup.
Download the latest version of Composer Setup.

This file installs the application and then adds the corresponding environment variable. Once downloaded, just run it. Forthwith, the wizard will present two types of normal installation or developer mode. The installation is the most common and includes an uninstaller. The developer version provides absolute control over the wizard and does not include an uninstaller. For purposes of this post, use the normal version:

Use the normal version of Setup
Use the normal version of Setup

The wizard then indicates the path of the php installed in the system.

Choose the php command line
Choose the php command line

The wizard then verifies the operation of the php command line.

Checking PHP
Checking PHP

The composer installation wizard is very intuitive. As a matter of fact, for php to work properly, a php.ini file is required. So, if this file is not present, the installation will show an error. But don’t worry, the wizard will detect the failure and offer to create the file php.ini.

Creating the php.ini file
Creating the php.ini file

Then edit the network configuration. Specifically, the information about a proxy server. If you don’t use it, then don’t tick the box and continue the installation.

Specify the type of connection
Specify the type of connection

Once the previous settings have been made, the wizard will start the installation of Composer in the system.

Preconfigurations complete
Preconfigurations complete

After installing Composer, the wizard warns that it is necessary to open a new window to run the program.

Information before the first use of Composer.
Information before the first use of Composer.

Finally, the assistant has finished his work and Composer was successfully installed in the system.

Composer installation completed
Composer installation completed

Testing Composer

As mentioned above, the Composer installer adds the variable environment automatically. So to test the installation of the program, please open a Command Prompt and execute the following command:

composer --version
Checking Composer version
Checking Composer version

As can be seen, we have seen how to install Composer on Windows 10. This tool facilitates the development process using the php language. I hope you enjoyed this tutorial. Please share on your social networks.

More articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest article

How to install KVM on Debian 10?

Hello friends, in this post I will show you how to install KVM on Debian 10. KVM stands for...

How to open Windows 10 Mobility Center

Hello! There are many types of users of Windows 10. As it depends on the type of hardware used. That is, the...

Ubuntu 20.04.1 available

Canonical, the company led by Mark Shuttleworth, releases Ubuntu 20.04.1. It has a new image, with updates and security patches for the...

How to install Linux Kernel 5.8 on Ubuntu 20.04?

Upgrading the Linux Kernel can be a beneficial task, but it is always optional. Recently we talked about the Linux Kernel 5.8...

How to activate XPS Viewer in Windows 10

Hey, what's up! When working with Windows 10 we probably use a lot of files. Indeed, these files have many extensions. For...