目录
环境要求
php > 7.1
必须使用composer安装及更新
安装
PS I:srctp6> composer create-project topthink/think tp
Installing topthink/think (v6.0.0)
- Installing topthink/think (v6.0.0): Downloading (100%)
Created project in tp
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 14 installs, 0 updates, 0 removals
- Installing psr/container (1.0.0): Downloading (100%)
- Installing topthink/think-helper (v3.1.3):
...
Writing lock file
Generating autoload files
> @php think service:discover
Succeed!
> @php think vendor:publish
Succeed!
测试运行
采用内置web服务器运行测试,默认8000端口
php think run
目录结构
默认单应用模式
多应用模式
需要安装模式拓展
composer require topthink
最后
以上就是大意棒球最近收集整理的关于tp6 使用lock_ThinkPHP6试用简易报告的全部内容,更多相关tp6内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复