1.安装thinkphp6框架:
composer create-project topthink/think tp
需要安装的扩展:
composer require topthink/think-multi-app //多应用 composer require topthink/think-view //视图 composer require topthink/think-captcha //验证码
2.如果运行php7.2版本,将composer.json中的配置修改以下:
"config": { "platform-check": false },
3.然后执行composer dump 命令。问题解决。
4.将以下路径文件的string类型去掉:
运行出现以下页面代表安装成功:
标签:require,tp,thinkphp6,composer,topthink,cms,think From: https://www.cnblogs.com/mo3408/p/17159453.html