Changing CLI PHP Versions on Laravel Homestead
I must be getting old... I frequently find myself working on projects that require specific PHP versions, ranging from 5.6 all the way to the current 7.4.
Fortunately there is a quick way to swap the current CLI version! Once logged in to Laravel Homestead the following snippet will provide a dialogue to choose the version you need: