Important
I haven't been using PHP for many years, so I have no intention of updating this gist. Hopefully, the process is still the same for newer versions PHP, but I'm the wrong person to ask this. Feel free to comment though!
These steps should have been mentioned in the prerequisites of the Laravel Installation Guide, since I'm surely not the only person trying to get Laravel running on macOS.