How to Install Laravel 12 on Windows (Quick Guide)
Laravel 12 is now officially released! Follow these simple steps to install Laravel 12 on Windows.
1οΈβ£ Install XAMPP or WAMP
Ensure PHP version 8.2 or higher.
πΉ Download XAMPP: https://www.apachefriends.org/download.html
πΉ Download WAMP: http://www.wampserver.com/en/
Start Apache and MySQL after installation.
2οΈβ£ Install Composer
πΉ Download Composer: https://getcomposer.org/download/
Install it and verify with:
composer
3οΈβ£ Install Laravel 12
Via Composer Create-Project
composer create-project --prefer-dist laravel/laravel my-laravel-app
Via Laravel Installer
composer global require laravel/installer laravel new my-laravel-app
For Laravel 12 explicitly:
composer create-project --prefer-dist laravel/laravel project_name "12.*"
4οΈβ£ Run Laravel 12
cd my-laravel-app php artisan serve
π Open http://127.0.0.1:8000/
5οΈβ£ Check Laravel Version
php artisan --version
β It should display Laravel Framework 12.0.0
For common issues and troubleshooting, watch the full tutorial:πΊ Complete Instructions: https://www.youtube.com/watch?v=_htRdjlPnzk
π Subscribe for more Laravel tutorials! Youtube.com/StackDevelopers