Installing Composer in 7 Steps

In this series of posts I’m gonna show you how to install such as ““, “Yii 2“, and “Zend Framework” on 8.1.

Prerequisites: Make sure you have already installed latest WAMP Server. If you still haven’t installed WAMP server, don’t worry just read my post Installing PHP/MySQL on Windows 8.1 Using WAMP Server Step by Step.

Note: process of many PHP Frameworks consists of the follwoing two parts:

  • Part 1 – Instilling
  • Part 2 – Installing the XYZ Framework

Part 1: Installing Composer

In this post you’ll learn where to get from and how to install Composer. Just follow these 7 simple steps and you’ll get installed Composer in the end.

Step 1:

To directly download Composer-Setup.exe, click Download Composer Automatically. You can also download Composer manually by visiting…/installation-windows.

Step 2:

After downloading, double click the Composer-Setup.exe and you’ll see Composer Setup window as shown below:

Install_Composer_1Click “Next >” to proceed the installation process further:

Step 3:

Install_Composer_2Select “Install Shell Menus” option and click “Next >“. This option makes sure that after installation gets completed, you can run the composer anywhere just by right clicking and selecting the option “Composer Install“.

Step 4:

Install_Composer_3Click “Browse…” and select the folder where your “php.exe” file exist. If you are not sure where to find it, don’t worry, just follow these given instructions.

  1. Click “Browse…” and you’ll see the windows ‘Open Dialog Box‘.
  2. Open the drive where you’ve installed WAMP Server.
  3. Open ‘wamp’ folder and look for the ‘bin‘ folder.
  4. Open ‘bin‘ folder and look for the ‘php‘ folder.
  5. Open ‘php5.5.12‘ folder and look for the ‘php.exe‘ file.
  6. Click ‘php.exe‘ file and then press the ‘Open‘ button.

After all that, click “Next >“.

Step 5:

Install_Composer_4Click “Install” to install Composer.

Step 6:

Install_Composer_4_1You are being informed that the path variable has been changed, Log off and Log in again.

Step 7:

Install_Composer_Finish_4_2Click “Finish” to complete the installation set up.

Congrats! You’ve successfully installed Composer and have completed Part 1.

Now you need to Complete Part 2 to install your desired PHP MVC Framework from any of the following:

Leave a Reply

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