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