Laravel Valet is one of the most used tool on Mac by Laravel developers. Deploying test domains is lot way convenient than working on localhost or 127.0.0.1. Make sure that all your libraries you are installing via ** brew** only. 1. Brew, Composer & PHP Installation If you don’t have Brew or Composer Installed, Install it with following commands first. /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" Install php using brew install php@7....
Laravel-Valet

Laravel Valet setup including PHPMyAdmin
![Laravel Valet : 502 Bad Gateway [SOLVED]](https://dwij.net/images/laravel-valet-502-bad-gateway-solved.jpg)
Laravel Valet : 502 Bad Gateway [SOLVED]
When you upgrade or downgrade PHP Version of Laravel Valet it creates this issue of getting 502 Bad Gateway Error while accessing any parked .test domain. Simple way to solve this by updating composer first. composer global update Once done reinstall Valet again. It takes very less time. valet install Run this command to make sure that you use correct version of php valet use php@7.4