```
`composer self-update`
```
```
~~~
{
"require": {
"guzzlehttp/guzzle": "~6.0"
}
}
~~~
```
```
~~~sh
composer install
~~~
```
```
可以直接使用composer命令。
D:\phpStudy>cd D:\phpStudy\WWW\20210421\
D:\phpStudy\WWW\20210421>composer
______
/ ____/___ ____ ___ ____ ____ ________ _____
/ / / __ \/ __ `__ \/ __ \/ __ \/ ___/ _ \/ ___/
/ /___/ /_/ / / / / / / /_/ / /_/ (__ ) __/ /
\____/\____/_/ /_/ /_/ .___/\____/____/\___/_/
/_/
Composer version 1.2.1 2016-09-12 11:27:19
D:\phpStudy\WWW\20210421>composer self-update
Updating to version 2.1.8 (stable channel).
Downloading: 100%
Use composer self-update --rollback to return to version 1.2.1
D:\phpStudy\WWW\20210421>composer install
The "topthink/think-installer" plugin was skipped because it requires a Plugin A
PI version ("^1.0") that does not match your Composer installation ("2.1.0"). Yo
u may need to run composer update with the "--no-plugins" option.
No composer.lock file present. Updating dependencies to latest instead of instal
ling from lock file. See https://getcomposer.org/install for more information.
Loading composer repositories with package information
Updating dependencies
Lock file operations: 20 installs, 0 updates, 0 removals
- Locking aliyuncs/oss-sdk-php (v2.4.3)
- Locking endroid/qr-code (1.9.3)
- Locking guzzlehttp/guzzle (6.5.5)
- Locking guzzlehttp/promises (1.4.1)
- Locking guzzlehttp/psr7 (1.8.2)
- Locking paragonie/random_compat (v9.99.100)
- Locking psr/http-message (1.0.1)
- Locking qiniu/php-sdk (v7.4.1)
- Locking ralouphie/getallheaders (3.0.3)
- Locking symfony/options-resolver (v3.4.47)
- Locking symfony/polyfill-intl-idn (v1.19.0)
- Locking symfony/polyfill-intl-normalizer (v1.19.0)
- Locking symfony/polyfill-php70 (v1.19.0)
- Locking symfony/polyfill-php72 (v1.19.0)
- Locking topthink/framework (v5.1.41)
- Locking topthink/think-installer (v2.0.5)
- Locking zoujingli/ip2region (v1.0.10)
- Locking zoujingli/think-library (v5.1.x-dev 38c150e)
- Locking zoujingli/wechat-developer (v1.2.31)
- Locking zoujingli/weopen-developer (dev-master 4d0d3c0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 11 installs, 7 updates, 0 removals
- Downloading topthink/think-installer (v2.0.5)
- Downloading symfony/options-resolver (v3.4.47)
- Downloading symfony/polyfill-php72 (v1.19.0)
- Downloading paragonie/random_compat (v9.99.100)
- Downloading symfony/polyfill-php70 (v1.19.0)
- Downloading symfony/polyfill-intl-normalizer (v1.19.0)
- Downloading symfony/polyfill-intl-idn (v1.19.0)
- Downloading ralouphie/getallheaders (3.0.3)
- Downloading psr/http-message (1.0.1)
- Downloading guzzlehttp/psr7 (1.8.2)
- Downloading guzzlehttp/promises (1.4.1)
- Downloading guzzlehttp/guzzle (6.5.5)
- Downloading zoujingli/ip2region (v1.0.10)
- Downloading topthink/framework (v5.1.41)
- Downloading qiniu/php-sdk (v7.4.1)
- Downloading aliyuncs/oss-sdk-php (v2.4.3)
- Downloading zoujingli/think-library (v5.1.x-dev 38c150e)
- Downloading zoujingli/wechat-developer (v1.2.31)
0/18 [>---------------------------] 0%
1/18 [=>--------------------------] 5%
7/18 [==========>-----------------] 38%
10/18 [===============>------------] 55%
12/18 [==================>---------] 66%
13/18 [====================>-------] 72%
15/18 [=======================>----] 83%
16/18 [========================>---] 88%
17/18 [==========================>-] 94%
18/18 [============================] 100%
- Upgrading topthink/think-installer (v2.0.0 => v2.0.5): Extracting archive
- Upgrading symfony/options-resolver (v3.4.44 => v3.4.47): Extracting archive
- Installing symfony/polyfill-php72 (v1.19.0): Extracting archive
- Installing paragonie/random_compat (v9.99.100): Extracting archive
- Installing symfony/polyfill-php70 (v1.19.0): Extracting archive
- Installing symfony/polyfill-intl-normalizer (v1.19.0): Extracting archive
- Installing symfony/polyfill-intl-idn (v1.19.0): Extracting archive
- Installing ralouphie/getallheaders (3.0.3): Extracting archive
- Installing psr/http-message (1.0.1): Extracting archive
- Installing guzzlehttp/psr7 (1.8.2): Extracting archive
- Installing guzzlehttp/promises (1.4.1): Extracting archive
- Installing guzzlehttp/guzzle (6.5.5): Extracting archive
- Upgrading zoujingli/ip2region (v1.0.8 => v1.0.10): Extracting archive
- Installing topthink/framework (v5.1.41): Extracting archive
- Upgrading qiniu/php-sdk (v7.2.10 => v7.4.1): Extracting archive
- Upgrading aliyuncs/oss-sdk-php (v2.4.0 => v2.4.3): Extracting archive
- Upgrading zoujingli/think-library (v5.1.x-dev 5e91c77 => v5.1.x-dev 38c150e)
: Extracting archive
- Upgrading zoujingli/wechat-developer (v1.2.25 => v1.2.31): Extracting archiv
e
0/8 [>---------------------------] 0%
3/8 [==========>-----------------] 37%
8/8 [============================] 100%
5 package suggestions were added by new dependencies, use `composer suggest` to
see details.
Generating autoload files
5 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
```
- 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