Skip to content

Instantly share code, notes, and snippets.

View thecrazybob's full-sized avatar
🎯
Focusing

Mohammed Sohail thecrazybob

🎯
Focusing
View GitHub Profile
@thecrazybob
thecrazybob / setup.md
Created January 24, 2018 14:21 — forked from shashankmehta/setup.md
Setup PHP and Composer on OSX via Brew

First install Brew on your MAC

  • Setup Brew: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • brew update
  • brew tap homebrew/dupes
  • brew tap homebrew/php
  • Install PHP 7.0.+ brew install php70
  • Install mcrypt: brew install mcrypt php70-mcrypt
  • Finally, install composer: brew install composer