Installation Guide

Q1. Install XAMPP

Ans.
C:\xampp

Open XAMPP Control Panel and start:
Apache → Start
MySQL → Start

Test Apache by opening:
http://localhost

Command Prompt (CMD):

Terminal
php -v

Q2. Install Composer

Ans.
https://getcomposer.org/

During installation, when Composer asks for the PHP executable, select:
C:\xampp\php\php.exe

After installation, verify it:
Command Prompt (CMD):

Terminal
composer -V

Q3. Install Laravel Installer

Ans.
Command Prompt (CMD):
laravel --version

Terminal
composer global require laravel/installer

laravel --version

Q4. Create a New Laravel Project

Ans.
Command Prompt (CMD):

D:\laravel\

Terminal
laravel new projectName

Q5. Verify the Laravel Installation

Ans.
Command Prompt (CMD):
cd D:\laravel\projectName

Terminal
php artisan --version

Welcome back