How to switch between PHP versions on Mac OS X using homebrew

Coding on a computer screen

I use docker for all the projects, but the other day I needed to run a composer command in my host machine to install a Drupal distribution which is not compatible with PHP 8.0, so I needed to switch the PHP version. And the steps to do so are: Install homebrew: Install the Brew […]