How to Install Laravel 9 on Windows Laravel 9 Installation Instruction Full 2024

Опубликовано: 17 Май 2026
на канале: BRAINOVA
27
2

Very recently, the Laravel 9 version has been released . In this video, we will take some simple steps to install Laravel 9 on Windows 11 not only this can work on any version of Operating system. We need to make sure that our server meets the Laravel 9 requirements.

To Install Laravel 9, you can install Xampp then Composer and finally install Laravel 9 application.

1) Install Xampp 8.x/Wamp:-

You can install the latest Xampp as per your Operating System from the below link:-
https://www.apachefriends.org/downloa...

Make sure PHP version must be greater than or equal to 8 like 8.1.2

2) Install Composer:- like version 2.2.7

A composer is a tool for dependency management in PHP. We can install composer from the below link:-
https://getcomposer.org/download/

After downloading the setup, just install it in your Xampp folder and browse this path /xampp/php/ and after installation, you can check in Shell in your Xampp Control Panel if you are using Xampp. Type "composer" and enter, "Composer" related commands you can able to see.

Follow the below tutorial for more details to install Composer for Laravel 9:

   • Video  

3) Install Laravel 9

After installing Xampp latest version with the latest PHP version and Composer as well, now we are ready to install the Laravel 9 application.

Simply open below Laravel 9 link and follow instructions:-
https://laravel.com/docs/9.x

2 ways to install Laravel 9:-

   • Video  

1) via Composer Create-Project :-
composer create-project laravel/laravel example-app

2) via Laravel Installer:-

First, download the Laravel installer using Composer:
composer global require laravel/installer

And then run the below command to install the Laravel 9 project:-
laravel new project_name

4) Run Laravel by giving the below command in the project folder:-

php artisan serve

5) Check Laravel version by giving the below command:-

php artisan --version

You can see it will show Laravel Framework 9.3.1 It means Laravel 9 version has been installed successfully.

6) Encryption Key Issue (if any)

If an encryption Key issue comes, then run the below command:-

php artisan key:generate

And then restart laravel server again means close Git Bash and run it again with "php artisan serve" command.
Hopefully this is going to help.

Thanks for watching :)