Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

composer安装不了thinkphp8 #2977

Closed
phpcws opened this issue Feb 23, 2024 · 1 comment
Closed

composer安装不了thinkphp8 #2977

phpcws opened this issue Feb 23, 2024 · 1 comment

Comments

@phpcws
Copy link

phpcws commented Feb 23, 2024

通过命令 composer create-project topthink/think tp 安装后,是thinkphp6的框架,而不是thinkphp8 是要再升级吗?

@big-dream
Copy link
Contributor

可能是使用的 composer 镜像源没更新。尝试使用官方源或更换其它源。
取消使用镜像源:

composer config --unset repos.packagist

使用阿里云镜像源:

composer config repo.packagist composer https://mirrors.aliyun.com/composer/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants