update composer version in laravel code example Example: how to update composer in laravel composer global require "laravel/installer:^4.0"