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 | phpCode language: JavaScript (javascript)

You will now have a composer.phar, which is executable.

You can move the file to the /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.

I compiled a list of software and services that I use to improve my workflow, here is the link to the list.

Darryl Dias

I’m Darryl. I’m a 3D Artist, Programmer and Linux enthusiast. On this site I share my insights, tips and tricks, tutorials, methods and best practices.