使用国内镜像:https://docs.phpcomposer.com/

composer config -g repo.packagist composer https://packagist.phpcomposer.com

Linux下出现错误:
- topthink/framework v6.0.2 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
安装:
sudo apt-get install php7.4-mbstring

然后安装

composer create-project topthink/think tp
 
 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-02-08
  • 2022-01-24
  • 2022-01-09
  • 2022-01-22
  • 2021-11-28
  • 2021-11-28
猜你喜欢
  • 2021-11-28
  • 2021-06-05
  • 2021-12-22
  • 2021-07-04
  • 2021-11-28
  • 2021-08-24
  • 2021-05-09
相关资源
相似解决方案