We'll start by checking if all of our brew dependencies and libraries are upto date.
Now, upgrade PHP
brew upgrade php
Check PHP Version
You should see 7.4.x
If you’re using Laravel Valet, you can simple run
composer global update to update all of the dependencies and later
valet install to install.