企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
``` `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! ```