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

If you like this content, please consider buying me a coffee.

Buy me a coffeeBuy me a coffee

You will get access to contributer exclusive resources and content.

Thank you!



Darryl Dias

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

Analytics by GoSquared