composer upgrade global code example Example 1: upgrade composer version composer self-update Example 2: update packages composer global composer global update