How to update composer

In Terminal, cd your way to the project whose dependencies need to be updated.

If you are in the right spot, the “ls” command should show a composer.json file.

From there run “php composer.phar update”. You should immediately see a message from composer and then the dependencies updating after a minute or two.

Leave a Reply