When you have multiple versions of PHP installed you may want to switch which version is being used. For instance, I often need to switch from PHP 7.4 to 8.0, you can do this via the command line but there is a Mac-only tool called PHP Monitor that gives you a GUI to make switching versions easy and gives you more options, PHP Monitor lives on your toolbar so it's only a click away.
PHP Monitor describes itself as:
PHP Monitor (or phpmon) is a lightweight macOS utility app that runs on your Mac and displays the active PHP version in your status bar. It's tightly integrated with Laravel Valet, so you need to have it set up before you can use this.
For installation instructions visit https://github.com/nicoverbruggen/phpmon don't forget to star the repo.