update global laravel code example Example: laravel version global upgrade composer global require "laravel/installer:^4.0"