composer show outdated --locked code example
Example: composer list packages
composer show -i //local packages
composer global show -i //global packages
composer show -i //local packages
composer global show -i //global packages