composer prohibits command not found code example
Example 1: update packages composer global
composer global update
Example 2: composer list packages
composer show -i //local packages
composer global show -i //global packages
composer global update
composer show -i //local packages
composer global show -i //global packages