Did you find a mistake? Didn't find what you were looking for? Please submit an issue.
On the command line, run the following commands:
# Download and install Homebrew.
curl -o- https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh | bash
# Install and link PHP.
brew install [email protected]
brew link --force --overwrite [email protected]