[root@VM_16_13_centos html]# composer create-project topthink/think tp
Installing topthink/think (v5.1.37)
- Installing topthink/think (v5.1.37): Downloading (100%)
Created project in tp
Loading composer repositories with package information
Updating dependencies (including require-dev)
clea^HPackage operations: 2 installs, 0 updates, 0 removals
- Installing topthink/think-installer (v2.0.0): Downloading (100%)
- Installing topthink/fr
Writing lock file
Generating autoload files
[root@VM_16_13_centos html]# cd tp/
[root@VM_16_13_centos tp]# composer require topthink/think-swoole
Using version ^3.0 for topthink/think-swoole
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- topthink/think-swoole v3.0.2 requires topthink/fr
- topthink/think-swoole v3.0.1 requires topthink/fr
- topthink/think-swoole v3.0.0 requires topthink/fr
- Installation request for topthink/think-swoole ^3.0 -> satisfiable by topthink/think-swoole[v3.0.0, v3.0.1, v3.0.2].
Installation failed, reverting ./composer.json to its original content.
最佳答案