Skip to content

Instantly share code, notes, and snippets.

View joelmellon's full-sized avatar

Joel Mellon joelmellon

View GitHub Profile
@joelmellon
joelmellon / EloquentCheatSheet.md
Created May 22, 2020 21:05 — forked from avataru/EloquentCheatSheet.md
Eloquent relationships cheat sheet
@joelmellon
joelmellon / setup.md
Last active November 8, 2017 21:57 — 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.1.+ brew install php71
  • Install mcrypt: brew install mcrypt php71-mcrypt
  • Finally, install composer: brew install composer