And, since Laravel Valet uses Homebrew in it's valet use php@X.X
command,
that means trying to install php@7.1
now breaks because Homebrew removed it from it's core.
We need to tap a barrel that has the php@7.1
formula.
brew tap exolnet/homebrew-deprecated
^this is a tap I found that had the php@7.1 and php@5.6 formulas
valet use php@7.1
...as well as the standard brew commands
brew install php@7.1
brew link php@7.1
That worked but wasn't enough for me. I had to reinstall PHP 7.1 from source.