##TP8的安装
#安装
composer create-project topthink/think web.tp8.com
#修改控制器里的方法,不然会显示空白
public function index()
{
return '<style>*{ padding: 0; margin: 0; }</style><iframe src="https://doc.thinkphp.cn/v8_0/preface.html" width="100%" height="100%" frameborder="0" scrolling="auto"></iframe>';
}
#报建多应用模式
composer require topthink/think-multi-app
#快速创建一个应用
php think build api