如何使用ThinkPHP 5搭建一个新项目?
- 内容介绍
- 文章标签
- 相关推荐
本文共计105个文字,预计阅读时间需要1分钟。

使用ThinkPHP 5创建项目并安装:
bashcomposer create-project topthink/think blog --prefer-dist
创建后台入口控制器:
bashphp think make:controller admin/Entry --plain
创建后台登录控制器:
bashphp think make:controller admin/Login --plain
安装thinkphp5 composer create-project topthink/think blog --prefer-dist 创建登台入口 php think make:controller admin/Entry --plain 创建登台控制器 php think make:controller admin/Login --plain
本文共计105个文字,预计阅读时间需要1分钟。

使用ThinkPHP 5创建项目并安装:
bashcomposer create-project topthink/think blog --prefer-dist
创建后台入口控制器:
bashphp think make:controller admin/Entry --plain
创建后台登录控制器:
bashphp think make:controller admin/Login --plain
安装thinkphp5 composer create-project topthink/think blog --prefer-dist 创建登台入口 php think make:controller admin/Entry --plain 创建登台控制器 php think make:controller admin/Login --plain

