LoginSignup
5
2

More than 5 years have passed since last update.

Composer: どのパッケージが依存しているか調べる方法

Posted at

Composerで、あるパッケージが、どのパッケージから依存されているかを調べる方法です。

composer why --tree パッケージ名

例えば、symfony/yamlがどのパッケージで使われているか調べるには、次のようにします。

composer why --tree symfony/yaml

image.png

5
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
2