Skip to content

Instantly share code, notes, and snippets.

@kuyseng
Forked from tomysmile/mac-php-composer-setup.md
Last active August 2, 2017 10:17
Show Gist options
  • Save kuyseng/34059603efbdb67bc15b24e2e2d24934 to your computer and use it in GitHub Desktop.
Save kuyseng/34059603efbdb67bc15b24e2e2d24934 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 php71
  • 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