Skip to content

Instantly share code, notes, and snippets.

@boogah
Created June 9, 2017 00:02
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save boogah/4507ce7f452e76bf8c51e9002fcfc82f to your computer and use it in GitHub Desktop.
Save boogah/4507ce7f452e76bf8c51e9002fcfc82f to your computer and use it in GitHub Desktop.
# Install Xcode Command Line Tools
xcode-select --install
# Install Homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Update Homebrew Package Index
brew update
# Confirm Homebrew is Installed Correctly
brew doctor
# Install PHP 7.0
brew tap homebrew/php
brew install php70
# Install Xdebug (optional)
brew install php70-xdebug
# Confirm PHP is Installed Correctly
php -v
# Install MySQL
brew install mariadb
# Launch MySQL at Login
brew services start mariadb
# Install Composer
brew install composer
# Confirm Composer is Installed Correctly
composer -V
# Install Valet (Part 1)
composer global require laravel/valet
# Install Valet (Part 2)
valet install
# Create a Directory for Valet Sites
mkdir ~/sites/valet/
cd ~/sites/valet/
valet park
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment