In Windows:

  • Install Composer from this link. In this step, the installer will ask you the directory of php.exe, you should put C:\xampp\php\php.exe if you use XAMPP OR put c:\wamp\bin\php\php5\php.exe
  • Clone by enter git clone https://github.com/laravel/laravel.git in Git Bash terminal or download Laravel.
  • Make sure enable openssl from all php.ini files. If you used WAMPP, make sure Click onphp_openssl, php_curl, php_socket enabled.
  • Open command line, (cmd) go to your Laravel directory, type command composer install
  • Launch Laravel project in browswer http://localhost/laravel-project-name/public. If you see the following, it means you have installed Laravel successfully.

Capture