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....
Mac

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
![Warning: CocoaPods not installed [Mac + Flutter + VSCode + XCode + iOS Simulator]](https://dwij.net/images/warning-cocoapods-not-installed-mac-flutter-vscode-xcode-ios-simulator.jpg)
Warning: CocoaPods not installed [Mac + Flutter + VSCode + XCode + iOS Simulator]
When you install New Copy of XCode and try to run your application on iOS Simulator from VSCode. You may see this error: Warning: CocoaPods not installed. Skipping pod install. CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side. Without CocoaPods, plugins will not work on iOS or macOS. For more info, see https://flutter.dev/platform-plugins To install: sudo gem install cocoapods CocoaPods not installed or not in valid state....