Basic Composer Commands

By david  //  Technical Tips  //  Comments Off on Basic Composer Commands

Log on to SSH for your linux host, and enter the following commands.

– to show the version of composer-managed packages:
php composer.phar show

– to update all installed vendor products on the server:
php composer.phar update
(All Vendor Software will then be updated by Composer.)

Manually version number of package required in composer.json, if a specific version is needed.

– to update just one installed product on the server:
php composer.phar update product/product-php
(One Vendor Product will be updated using software stored at github.)

Comments are closed.