> composer show 用于查看軟件包 #### 1. 列出所有可用的軟件包 --- 在TP6.0框架根目錄下執(zhí)行命令 ``` composer show ``` ![](https://img.itqaq.com/art/content/e6b83502d6f770066f9c118716772ad3.png) #### 2. 查看某個(gè)包的詳細(xì)信息 --- ``` composer show topthink/think-view ``` ![](https://img.itqaq.com/art/content/1147c10ce0737813e3b9b94c9688518b.png) #### 3. 參數(shù)選項(xiàng)(只列出部分常用的,詳細(xì)的請(qǐng)看官方文檔) --- [https://getcomposer.org/doc/03-cli.md#show](https://getcomposer.org/doc/03-cli.md#show) + **--all: 列出所有存儲(chǔ)庫中可用的所有軟件包** 使用該參數(shù)則從存儲(chǔ)庫讀取軟件包 ``` composer show --all composer show topthink/think-view --all ``` ![](https://img.itqaq.com/art/content/85d76dfe4b52c72346b9d8ed7759d170.png) + **--path(-P): 列出軟件包路徑** ``` composer show -P composer show topthink/think-view -P ``` ![](https://img.itqaq.com/art/content/9b1435f6a6b74d364e2bbf5b7a85d235.png) + **--outdated(-o): 表示 --latest,但是僅列出具有較新版本的軟件包** ``` composer show -o ``` ![](https://img.itqaq.com/art/content/9997743bab27c36b5d06510b6532f84f.png)