Easy way to install Laravel in windows

Install Composer

Download Windows installer and install it.

Install Laravel Via Composer Create-Project

Open a terminal (cmd) and go to the directory  where you want to install. then use following command

composer create-project laravel/laravel --prefer-dist

If you getting an error saying:

failed to clone https://github.com/php-fig/log.git, git was not found, check that it is installed and in your PATH env. 'git' is not recognized as and internal or external command, operable program or batch file 

You need to add the directory you installed git to to your PATH environment variable. See how to set environment variable

if your terminal show Composer Warning: openssl extension is missing. You need to enable openssl extension.

WAMP uses different php.ini files in the CLI and for Apache. when you enable php_openssl through the WAMP UI, you enable it for Apache, not for the CLI. You need to modify C:\wamp\bin\php\php-5.4.3\php.ini to enable it for the CLI.

You have done your laravel installation