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):
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):
composer -V
Q3. Install Laravel Installer
Ans.
Command Prompt (CMD):
laravel --version
composer global require laravel/installer
laravel --version
Q4. Create a New Laravel Project
Ans.
Command Prompt (CMD):
D:\laravel\
laravel new projectName
Q5. Verify the Laravel Installation
Ans.
Command Prompt (CMD):
cd D:\laravel\projectName
php artisan --version