Laravel is the most popular object-oriented PHP framework. Today, We are going to install Laravel on windows with XAMPP server. For install Laravel on the windows system, We need to install XAMPP server on windows. Let’s install Laravel on windows system with XAMPP server step by step.
Install XAMPP
First of all, We are going to install XAMPP, If XAMPP server is not installed on your server then let’s first install XAMPP on your windows system. Let’s download the XAMPP server and install it on the windows system.
Also, Make sure when downloading the XAMPP version as compatible with Laravel version.
Install Composer
Laravel utilizes Composer to manage its dependencies. due to, We need to install Composer After, installation the XAMPP server on windows system, let’s download and install the composer before using Laravel.
Install Laravel on windows using composer
After, installing XAMPP server and Composer on the windows system. Now, we are going to installing Laravel on windows using composer. Just follow the command for installing Laravel using composer step by step.
1 |
composer create-project --prefer-dist laravel/laravel laravelhive |
After, install laravel application let’s follow the below command for running Laravel application
1 2 |
cd laravelhive php artisan serve |
Finally, We are ready to use Laravel application using localhost:8000 URL.
So, It’s too easy to installing Laravel application on windows server If you face any issue on Laravel installation writes the comment below. Also, Please let me know if you have any corrections or additions.