#### 1. `search` 命令簡介 --- `search` 命令用于搜索 `packagist.org` 上的依賴包 使用場景 : 忘記了依賴包名還不想去 `packagist.org` 上搜索 #### 2. `search` 命令使用示例 --- **搜索 `thinkphp`官方依賴包** ``` composer search topthink ``` ``` $ composer search topthink topthink/framework The ThinkPHP Framework. topthink/think-captcha captcha package for thinkphp topthink/think-helper The ThinkPHP6 Helper Package topthink/think-multi-app thinkphp6 multi app support topthink/think-orm think orm topthink/think-template the php template engine topthink/think-trace thinkphp debug trace topthink/think-view thinkphp template driver topthink/think the new thinkphp framework topthink/framework The ThinkPHP Framework. topthink/think-orm think orm topthink/think-worker workerman extend for thinkphp6.0 topthink/think-template the php template engine topthink/think-swoole Swoole extend for thinkphp topthink/think-queue The ThinkPHP6 Queue Package topthink/think-migration topthink/think-helper The ThinkPHP6 Helper Package topthink/think-captcha captcha package for thinkphp topthink/think-view thinkphp template driver topthink/think-trace thinkphp debug trace topthink/think-testing topthink/think-multi-app thinkphp6 multi app support topthink/think-mongo mongodb driver for thinkphp6.0 ``` **安裝需要的依賴包** ``` composer require topthink/think-view topthink/think-multi-app topthink/think-captcha ```