Wednesday, July 6, 2016

Using PHP Composer

Setting up composer

Make sure composer is in your path. If on Linux this can be easily accomplished by adding the composer.phar file to ~/bin.



How to update composer


composer.phar self-update


Installing/updating project packages

1) A composer.json file should be stored in the root of your project.
2) cd into the root folder of your project
3) Run 
composer.phar update

No comments:

Post a Comment