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.)

Share this post:
Share on Twitter Button   Share on Facebook Button   Share on LinkedIn Button   Share on Reddit Button

david

A developer with more than a decade of professional programming experience on multiple platforms. Windows (Win32 through .NET), as well as Web technologies.