```
可以直接使用composer命令。
D:\phpStudy>cd D:\phpStudy\WWW\20210421\
D:\phpStudy\WWW\20210421>composer require hg/apidoc
Search for a package: apidoc
Found 15 packages matching apidoc
[0] nelmio/api-doc-bundle
[1] mpociot/laravel-apidoc-generator
[2] yiisoft/yii2-apidoc
[3] crada/php-apidoc
[4] hg/apidoc
[5] weiwei/api-doc
[6] nostop8/rest-api-doc
[7] f2m2/apidocs
[8] bear/api-doc
[9] gohiei/api-doc-bundle
[10] facebook/hh-apidoc
[11] baraja-core/structured-api-doc
[12] contributte/api-docu
[13] ublaboo/api-docu
[14] weiwei2012holy/eolinker-doc
Enter package # to add, or the complete package name if it is not listed: ^C終止
批處理操作嗎(Y/N)? y
D:\phpStudy\WWW\20210421>composer require "hg/apidoc"
Search for a package: thinkphp-apidoc
Found 15 packages matching thinkphp-apidoc
[0] yunbuye/thinkphp-apidoc-generator
[1] xwpd/thinkphp-apidoc-generator
[2] ascwh/thinkphp-apidoc
[3] liaosp/think-swagger
[4] weiwei/api-doc
[5] ric/thinkphp6-apidoc
[6] hao/api-doc
[7] cyzonetech/api-doc
[8] shuxian/tp5-apidoc
[9] yiran/yr-api-doc
[10] widuu/think-api
[11] oswell/api-doc
[12] kyle/yapi
[13] gzhantao/api-doc
[14] cck/api-doc
Enter package # to add, or the complete package name if it is not listed: 8
Enter the version constraint to require (or leave blank to use the latest versio
n):
Using version ^2.0 for shuxian/tp5-apidoc
Search for a package:
./composer.json has been updated
Running composer update shuxian/tp5-apidoc
Loading composer repositories with package information
Updating dependencies
Lock file operations: 2 installs, 0 updates, 0 removals
- Locking shuxian/tp5-apidoc (v2.0)
- Locking topthink/think-helper (v3.1.1)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 2 installs, 0 updates, 0 removals
- Downloading topthink/think-helper (v3.1.1)
- Downloading shuxian/tp5-apidoc (v2.0)
0/2 [>---------------------------] 0%
1/2 [==============>-------------] 50%
2/2 [============================] 100%
- Installing topthink/think-helper (v3.1.1): Extracting archive
- Installing shuxian/tp5-apidoc (v2.0): Extracting archive
0 [>---------------------------] 0 [>---------------------------]
Generating autoload files
5 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
D:\phpStudy\WWW\20210421>
```
- extend加入模塊
- array_column() expects parameter 1 to be array, object given
- tp5.1安裝No input file specified.
- ROOT
- wechatDeveloper
- ThinkLibrary
- 語法錯誤: unexpected '?'
- Cannot use object of type stdClass as array
- Invalid argument supplied for foreach()
- 常量上傳
- 命名空間extend_email_Aindex
- Validate
- 'cross-env' 不是內部或外部命令,也不是可運行的程序
- 內置規則
- composer self-update
- cURL error 60: SSL certificate problem
- GuzzleHttp_Client_cookie_true
- cookies原始字符串轉換為數組
- 設置cookie
- apidoc
- 原生安裝tp5
- array_unique
- explode
- tp3修改密碼
- tp打印SQL
- tp5一對一關聯
- allowField
- array_column
- array_key_exists
- array_search
- tp5如何引入自定義函數
- with
- with閉包
- 綁定類
- composer A
- array_filter用回調函數過濾數組中的元素
- array_keys
- array_slice截取前兩個
- fetch_assoc
- in_array是否存在指定的值
- is_null
- join
- krsort對數組排序
- array-udiff
- shuffle
- substr
- unset刪除多維數組key
- 多維轉一維函數
- 數組變成字符串implode
- 數組分割
- 數組取差集
- 隨機函數array_rand
- 一維變二維
- 字符串包裹變量
- 字符串漢字截取mb_substr
- 直接使用composer命令
- 安裝vendor
- composer命令
- 復制安裝
- 空目錄安裝
- tp5cms
- tp5調試
- tp3調試
- TP5一對一關聯
- SQL語句
- 清空數據
- 去重
- 去重保留最小id
- 去重匹配除數字外數據
- 事務
- tp5pdf亂碼
- tp5column_tp3getFieldtrue
- php代碼在線測試,php在線執行
- parent::_initialize