Open4
composer commands
これ: https://zenn.dev/at_yasu/scraps/fa4abbbdd4d9d3 の続き的な。割りと応用があるので、メモ書き。
- compser show
- composer why
composer show <package names>
使っているパッケージの詳細情報
> composer show symfony/process
name : symfony/process
descrip. : Executes commands in sub-processes
keywords :
versions : * v5.4.24
type : library
license : MIT License (MIT) (OSI approved) https://spdx.org/licenses/MIT.html#licenseText
homepage : https://symfony.com
source : [git] https://github.com/symfony/process.git e3c46cc5689c8782944274bb30702106ecbe3b64
dist : [zip] https://api.github.com/repos/symfony/process/zipball/e3c46cc5689c8782944274bb30702106ecbe3b64 e3c46cc5689c8782944274bb30702106ecbe3b64
path : /var/www/html/esha/vendor/symfony/process
names : symfony/process
support
source : https://github.com/symfony/process/tree/v5.4.24
autoload
psr-4
Symfony\Component\Process\ => .
exclude-from-classmap
requires
php >=7.2.5
symfony/polyfill-php80 ^1.16
composer show
一覧を表示する。
> composer show
barryvdh/laravel-debugbar v3.7.0 PHP Debugbar integration for Laravel
barryvdh/laravel-ide-helper v2.13.0 Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-c...
barryvdh/reflection-docblock v2.1.0
brianium/paratest v6.10.0 Parallel testing for PHP
...
composer why <package name>
指定したパッケージを使っているパッケージを探す
> composer why symfony/process
brianium/paratest v6.10.0 requires symfony/process (^5.4.21 || ^6.2.7)
laravel/framework v8.83.27 requires symfony/process (^5.4)
symfony/console v5.4.24 conflicts symfony/process (<4.4)