Sunday, March 20, 2016

How to Install Laravel on Windows?




laravel installation on windows






How to install? It's quite easy so Let's start! 

1. First you need to download  Composer (A dependency manager for php & yes don't forget to check your PC requirement first before downloading).

2. After installing composer in your PC, Run cmd command in your htdocs docs on XAMPP and copy the below line and press enter.

composer create-project --prefer-dist laravel/laravel blog
This will automatically download latest laravel  file in your htdocs forlder.Rename the file as laravel. As we are gonna working in that directory as laravel in different steps.

3. Now press ctrl+shift and click on laravel folder and then click on open command window here.
4. In command window type the following command and run enter.
composer install

5. After successfully installing composer on that folder write the following url on your browser url and press Enter.

localhost/laravel/public
6. You will see a welcome screen like that:

install-laravel-on-windows


7. That's it you have successfully installed laravel on your PC.