Use the `composer fund` command code example
Example 1: composer autoload dump
composer dump-autoload
Example 2: composer list packages
composer show -i //local packages
composer global show -i //global packages
composer dump-autoload
composer show -i //local packages
composer global show -i //global packages