Laravel installation for windows tutorial for beginners

In this tutorial I am going to show you laravel installation for windows platform. Laravel is a powerful PHP framework that is widely used to make beautiful blog, cms, e-commerce and standalone utility websites. It is a modern PHP framework that is currently trending in the web development world.

Laravel installation for windows requirements

  1. Composer for windows. You can download it from here.
  2. XAMPP or LAMP for windows with PHP 5.6+ v.
  3. GIT for windows.


Create a folder inside htdocs/www/public_html folder of your server. Name it LaraCart. Now open LaraCart folder and shift+right click to choose Open Terminal Here option. In terminal type

Git folder LaraCart is now initialized with git. Now lets pull laravel skeleton project from official laravel git hub repo. Here is the command.

The folder would look something like this

Laravel installation for windows
Laravel installation for windows

Alternatively you can also download a zip file from


We have now successfully downloaded Laravel Skeleton from git hub. Now we need to install it using composer from command prompt. To do so simple type the following command.

There is a composer.json file inside LaraCart folder. That is a map for composer to execute, download and configure the project accordingly. After composer install your app. Try to run the project from url i.e.,

Laravel installation for windows
Laravel installation for windows

This error occurs only when there is a security issue in the project. So we need to create a security key via php artisan command. This generates a key in .env file. But before generating make sure to rename the .env.example file to .env


That’s all. Laravel installation is now complete and ready to get customized. After a successful installation hit, you will see a laravel welcome page like this

Laravel installation for windows
Laravel installation for windows

In my next tutorial I am going to show you how to create a basic shopping cart using laravel framework.


  1. I’ve been browsing online greater than three hours today, but I by no means found any
    fascinating article like yours. It’s pretty
    worth sufficient for me. In my view, if all site owners and
    bloggers made excellent content as you probably did, the
    web can be a lot more helpful than ever before.

Comments are closed.