D:\web>composer create-project topthink/think cat 6.0.*
Creating a "topthink/think" project at "./cat"
Installing topthink/think (v6.0.5)
- Downloading topthink/think (v6.0.5)
- Installing topthink/think (v6.0.5): Extracting archive
Created project in D:\web\cat
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- topthink/framework[v6.0.0, ..., v6.0.5] require league/flysystem-cached-adapter ^1.0 -> found league/flysystem-cached-adapter[dev-master] but it does not match the constraint.
- Root composer.json requires topthink/framework ^6.0.0 -> satisfiable by topthink/framework[v6.0.0, ..., v6.0.5].
D:\web>composer -V
Composer version 2.0.8 2020-12-03 17:20:38
C:\Users\tiger>php -v
PHP 7.4.13 (cli) (built: Nov 24 2020 12:43:30) ( NTS Visual C++ 2017 x64 )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Xdebug v2.9.6, Copyright (c) 2002-2020, by Derick Rethans
昨天搞了台新电脑装了composer