The Laravel team has developed a one-click installation script, thus lowering the barrier to entry.
This documentation now includes new installation methods, all utilizing one-click scripts, supporting macOS, Windows, and Linux.
# macos
/bin/bash -c "$(curl -fsSL php.new/install/mac)"
# windows
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('php.new/install/windows'))
# linux
/bin/bash -c "$(curl -fsSL php.new/install/linux)"
The script will install PHP Composer and Laravel installer. After success, it can be used directly
Laravel new example-app
cd example-app
php artisan serve
Back
•
It is!
I used xampp/wamp, laragon and herd.
I can confirm it's lightweight than other 3.
I found Laragon as the most practical thing for development in windows tbh.