Switch version of PHP with valet
brew-php-switcher 56 -c=valet Replace 56 with version number Then type valet install