Appearance
php@7.4
brew tap shivammathur/php brew install shivammathur/php/php@7.4 brew link --overwrite --force shivammathur/php/php@7.4
brew edit composer
Remove depends_on "php" (:23) and run:
depends_on "php"
:23
HOMEBREW_NO_INSTALL_FROM_API=1 brew install composer