Skip to content

Instantly share code, notes, and snippets.

@tomysmile
Created July 11, 2016 10:45
Show Gist options
  • Star 66 You must be signed in to star a gist
  • Fork 18 You must be signed in to fork a gist
  • Save tomysmile/3b37ab4a1ddd604093fe724d0a882166 to your computer and use it in GitHub Desktop.
Save tomysmile/3b37ab4a1ddd604093fe724d0a882166 to your computer and use it in GitHub Desktop.
Setup PHP Composer using Brew
@hendisantika
Copy link

I was installing composer using brew.

But I am having this error:

image

Do You have any advice?

Thanks a lot

@NickM101
Copy link

This Worked for me 😇
You need to edit bash_profile

  1. nano ~/.bash_profile
  2. Copy/paste export PATH=~/.composer/vendor/bin:$PATH
  3. Then run source ~/.bash_profile

@SandeepN97
Copy link

should the composer be installed in the project folder or the server folder.
for example, if I am using WAMP64 as a local host inside the www folder of I have my project should I install it in the WAMP64 folder or the project folder like perfect cup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment