composer command line repo code example
Example 1: composer self update command
composer self-update
Example 2: composer list packages
composer show -i //local packages
composer global show -i //global packages
composer self-update
composer show -i //local packages
composer global show -i //global packages