how to update composer in laravel cmd code example
Example 1: laravel composer update
php composer.phar update
Example 2: how to update composer in laravel
composer global require "laravel/installer:^4.0"
Example 3: upgrade composer
To update composer command just find location of composer.phar and update as:
where composer #Retrieves you location of your composer.phar
cd path_to_composer.phar #Move to directory with composer.phar
php composer.phar self-update #Update your composer