Composer 查看某个包的加载原因 比如想查看项目为何加载了phpunit/php-code-coverage可以使用如下命令:
composer why -t phpunit/php-code-coverage