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


About Zahidul Hossein Ripon

Zahidul Hossein Ripon a Bangladesh national, born in 1983 did Bachelor of Science in Computer Science and Engineering. At present, Mr. Ripon is working as a Managing Director in Coraltech Solutions. Before working with Coraltech Solutions, he worked in different reputed ICT industries in Bangladesh from year 2007. Mr. Ripon is one of the Associate Member of Bangladesh Computer Society. Mr. Ripon attended couple of Conference and Training, Seminars and events of ICT in Bangladesh and abroad. He is one of the co-author of few number of research publications in international scientific journals and proceedings.

No comments yet.

Leave a Reply