Open2

composer で依存関係をみる

at yasuat yasu

特定パッケージの依存関係を探すには composer why <package> を使う

> composer why symfony/process
brianium/paratest         v6.6.4  requires  symfony/process (^5.4.11 || ^6.1.3) 
friendsofphp/php-cs-fixer v3.11.0 requires  symfony/process (^5.4 || ^6.0)      
laravel/framework         v9.32.0 requires  symfony/process (^6.0)              
spatie/flare-client-php   1.3.0   requires  symfony/process (^5.2|^6.0)         
symfony/console           v6.1.4  conflicts symfony/process (<5.4)