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