We'll start by checking if all of our brew dependencies and libraries are upto date.

brew update

Now, upgrade PHP

brew upgrade php

Check PHP Version

php -v

You should see 7.4.x

For Valet

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.

You may also Like