Composer on Mac

Oct 03, 2015
Composer is a dependency manager for PHP, that lets you manage dependencies by offering install/uninstall and options like creating projects.

It manages dependencies for you, big projects like Laravel framework and CMS like Grav use it to manage dependencies.

It’s easy to install it on Mac, all you have to do is run this curl command in your Terminal.

“` curl -sS | php “`
You will now have a ``composer.phar`, which is executable.`

You can move the file to the <code class="highlighter-rouge">/usr/loca/bin directory to make it accessible from anywhere.

``` sudo cp composer.phar /usr/local/bin/composer ```
Now when you run composer from your terminal you should get a greeting screen from Composer.

Darryl Dias

I am a student, 3D artist, and author currently living in Florida. My interests range from technology to arts. I am also interested in programming, writing

Analytics by GoSquared