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