问题:
采用composer, 下载tp5.1
composer create-project topthink/think=5.1.* tp5
zsh: no matches found: topthink/think=5.1.*
原因:
没有指定具体的版本!!
方案:
指定具体版本
composer create-project topthink/think=5.1.31 tp5 # tp5为项目名
或是
一般情况下,composer 安装的是最新的稳定版本,不一定是最新版本,如果你需要安装实时更新的版本(适合学习过程),可以安装5.1.x-dev版本。
composer create-project topthink/think=5.1.x-dev tp5
下载核心框架
composer update topthink/framework
报错:
Failed to extract topthink/framework: (9) unzip -qq ‘/Users