valet switch php code example
Example 1: valet switch php version
valet stop
brew unlink php71
brew install php56
brew install php56-mcrypt
brew link php56
valet start
Example 2: valet switch php version
valet stop
brew unlink php71
brew link php56
valet start