Last active
March 8, 2017 07:42
-
-
Save lexbeelen/d5adea0117d533bd1baa7423a0518d2d to your computer and use it in GitHub Desktop.
Laravel Valet PHP Switcher
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
valet stop | |
brew unlink php56 php70 php71 | |
sudo killall php-fpm | |
brew link $1 | |
brew services start $1 | |
valet start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment