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 https://getcomposer.org/installer | php

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.

Darryl Dias

I am a 3D artist who spends his time creating renders and sequences that tell a story and at other times write code and Linux based development work

Leave a comment

Your email address will not be published. Required fields are marked *