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