Laravel 7/6 Installation On Windows With Composer

Laravel 7/6 Installation On Windows With Composer

Install laravel on windows. In this article, We’ll show you how to install the laravel Framework on windows system step by step and create a first laravel application. Also, discuss How to Install Composer windows. Install Laravel on Windows in a matter of minutes.

This example tutorial also work with laravel 7.x version.

What is Laravel?

Laravel is a free open source “PHP framework” based on the MVC design pattern.
It is created by Taylor Otwell. Laravel provides expressive and elegant syntax that helps in creating a wonderful web application easily and quickly.

Install Laravel on Windows and Ubuntu with Composer


  • Download and Install Composer
  • System Requirement
  • Create a Project
  • Run the Application on Development Server
  • Conclusion

Note: If you install laravel in the ubuntu system. Must Read, How to install composer in ubuntu Click Here

1. Download and Install Composer

Before installing laravel on windows. first of download composer on windows system. If you already composer download / installed Composer.  go to STEP 2, otherwise follow the steps.

Click  Download Composer from

install composer

Run the setup and Install Composer.

install composer

Next the window will display the resume of the settings, click “Install” to continue.

install composer

If you have any proxy URL enter here, don’t know to leave it to click next to

install composer
install composer

The setup wizard will download the required files from Your installation will be completed.

install composer

Composer installed successfully. Click to finish button and move to the next step.

install composer
install composer

Open command prompt & type cd C:\xampp\htdocs

install composer

2. Server Requirements

The Laravel framework has a few system requirements. Before we will install laravel 6 on windows, read some system requirements.

  • PHP >= 7.2.0
  • BCMath PHP Extension
  • Ctype PHP Extension
  • JSON PHP Extension
  • Mbstring PHP Extension
  • OpenSSL PHP Extension
  • PDO PHP Extension
  • Tokenizer PHP Extension
  • XML PHP Extension

3. Install Laravel

Type the command In the command prompt => composer create-project laravel/laravel Project Name. It will install a laravel 6  fresh setups on your system.

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

Wait for Laravel install on windows system.

install laravel

4. Run the Application on Development Server

In this step to use the php artisan serve command .it will start your server locally

php artisan serve

If you want to run the project diffrent port so use this command

php artisan serve --port=8080 

You have successfully install laravel on windows, Now Go to the browser and hit the

URL : http://localhost:8000/blog

If you are not run php artisan server command, direct go to your browser and type the URL

URL : http://localhost/blog/public/

Laravel  Installation Process completed go to the browser and hit URL. http://localhost/project-name /public/, you will be seen.

install laravel

Server Error 500 when accessing Laravel 6 (Solve)

Download New Laravel Setup and Run, It will show server error 500 when accessing Laravel 6

If your using ubuntu machine. open your terminal and go to your project root directory and type the command in command prompt :

sudo chmod  -R 777 storage

sudo chmod -R 777 bootstrap

5. Conclusion

You have successfully installed the latest version laravel 6 on windows with the composer.

If you have any questions or thoughts to share, use the comment form below to reach us.


AuthorTuts Make

My name is Devendra Dode. I am a full-stack developer, entrepreneur, and owner of I like writing tutorials and tips that can help other developers. I share tutorials of PHP, Javascript, JQuery, Laravel, Codeigniter, Vue JS, Angular JS, React Js, WordPress and Bootstrap from a starting stage.

Leave a Reply

Your email address will not be published. Required fields are marked *