composer status check code example Example 1: composer self update command composer self-update Example 2: composer update php composer.phar update