In this article, we will learn how to install Laravel 8 via composer in windows.


Check composer installed or not

Open command prompt anywhere on your pc and type the following command for checking the composer installed or not.


C:\Users\GWeb Solution PC 1\Desktop\Laravel-tutorial>composer

If you see like this of the window, it means composer installed if you don't have you can download it for Laravel.




Installing Laravel via Laravel Installer

First, download Laravel installer via composer

composer global require laravel/installer


Check Laravel installer, just type

Laravel




Create laravel blog or application, just simply type

laravel new blog


run your laravel application

php artisan serve




Open browser and type development server URL:


You have a successfully installed laravel 8 on your windows machine


Are you facing problems in understanding this article?
You can watch the video. Watch it now