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