Open4

composer commands

at yasuat yasu

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
at yasuat yasu

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
...
at yasuat yasu

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)