Skip to content

Instantly share code, notes, and snippets.

@tylerzey
Forked from tomysmile/mac-php-composer-setup.md
Created February 16, 2018 21:25
Show Gist options
  • Save tylerzey/c5a8d2224c6ab345b6d0bc5c6071c7d2 to your computer and use it in GitHub Desktop.
Save tylerzey/c5a8d2224c6ab345b6d0bc5c6071c7d2 to your computer and use it in GitHub Desktop.
Setup PHP Composer using Brew

Firstly install Brew on your MAC

Then install PHP

  • brew update
  • brew tap homebrew/dupes
  • brew tap homebrew/php
  • brew install php56
  • brew install composer

to test installation, runs:

$ composer -V

Composer version 1.1.2 2016-05-31 19:48:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment