Nowdays, Laravel is a most popular framework of PHP. Laravel provide lots of functionality like data migration, MVC, blade template etc. But if you don't know how to install laravel in your windows system then you can run laravel easily by following few step. In this installation we use xampp server for PHP.
Step 1: Install Xampp
The below screen shows that the setup is ready to install, click on the Next button. The installation process is started, which is shown in the below screen: When the installation is completed, the screen appears asking for the completion of a XAMPP Setup Wizard. Click on the Finish button. Select the language and then click on the Save button. To get started, you only need to install Docker Desktop. Laravel Sail is a light-weight command-line interface for interacting with Laravel's default Docker configuration. Sail provides a great starting point for building a Laravel application using PHP, MySQL,.
- In this video we learn how to install php framework laravel / laravel 5 in windows system with xampp server for insalling laravel 5 we use composer to instal.
- Check the installation using composer -V Output: Composer version 1.10.1 2020-03-13 20:34:27. If Composer is works fine, than go to install laravel using the following command. Composer create-project laravel/laravel laraveldemo OR composer create-project laravel/laravel laraveldemo –prefer-dist “laraveldemo” is your project directory.
- How to install Laravel 8 on Windows with XAMPP. Installing Laravel 8 on Windows is very easy. However, before we can enjoy the new version of Laravel, we have to make sure that our system is compatible and meets the following requirement.
In this step we have to install xampp for PHP, if you haven't install xampp server in your system then you can donwload and install from here :Download xampp
How To Install Xampp Server
make sure you have to download >5.5.9 PHP version because laravel 5 require at least 5.5.9 version.
Step 2: Install Composer
After xampp server install successfully, you have to install composer so you haven't install yet then you can download from here: Download Composer.
Step 3: Create Laravel Project
After Composer install successfully, we can run composer command in our system so now we can create new laravel application using bellow command. I listed three command that way we can download laravel application and run in our system also, Run bellow command in your cmd.
After this you can check in this link : localhost:8000.
How To Install Xampp Windows
Now you will find first page of laravel application.