My composer just told me that a specific foo / bar package was left.
However, it is not listed in mine composer.json, so another package has this as a dependency.
composer.json
How can I get Composer to show me this?
For example, he can tell me that my root composer.jsonrequires a / b, which requires c / d, which in turn requires breaking foo / bar.
composer show --tree
Lists your dependencies as a tree. If you pass the package name, it displays a dependency tree for that package.
See the documentation for more details: https://getcomposer.org/doc/03-cli.md#show
, , . , , , . , composer.lock . require require-dev , .
, A B, C. , A , composer show --tree package/a
composer show --tree package/a
Source: https://habr.com/ru/post/1016626/More articles:Как установить обратное пространство в круглых скобках в sublime 3? - sublimetextHTTPS using Retrofit and OkHttp Handshake settings - androidAngular 2 Moving the cursor at the end of a text field when data changes - angularHow to set padding behavior in ST3 - sublimetext3#pragma once position: before or after # include's - c ++Start-Process -WorkingDirectory as administrator does not set location - powershellHow to integrate Laravel 5.4 with Angular 4 - jsonКак установить значение по умолчанию в response-select - default-valueClever indentation of brackets (brackets) in sublime text 2 - sublimetext2Call BAT in an enlarged window and change the ENV variables to - windowsAll Articles