86 lines
2.8 KiB
Markdown
86 lines
2.8 KiB
Markdown

|
||
|
||
ThinkPHP 8.0
|
||
===============
|
||
|
||
[](https://github.com/top-think/framework/actions)
|
||
[](https://scrutinizer-ci.com/g/top-think/framework/?branch=8.0)
|
||
[](https://scrutinizer-ci.com/g/top-think/framework/?branch=8.0)
|
||
[](https://packagist.org/packages/topthink/framework)
|
||
[](https://packagist.org/packages/topthink/framework)
|
||
[](http://www.php.net/)
|
||
[](https://packagist.org/packages/topthink/framework)
|
||
|
||
## 主要特性
|
||
|
||
* 基于PHP`8.0+`重构
|
||
* 升级`PSR`依赖
|
||
* 依赖`think-orm`3.0版本
|
||
* `6.0`/`6.1`无缝升级
|
||
|
||
|
||
> ThinkPHP8.0的运行环境要求PHP8.0.0+
|
||
|
||
现在开始,你可以使用官方提供的[ThinkChat](https://chat.topthink.com/),让你在学习ThinkPHP的旅途中享受私人AI助理服务!
|
||
|
||
[](https://chat.topthink.com/)
|
||
|
||
ThinkPHP生态服务由[顶想云](https://www.topthink.com)(TOPThink Cloud)提供,为生态提供专业的开发者服务和价值之选。
|
||
|
||
## 文档
|
||
|
||
[完全开发手册](https://doc.thinkphp.cn)
|
||
|
||
|
||
## 赞助商
|
||
|
||
全新的[赞助计划](https://www.thinkphp.cn/sponsor)可以让你通过我们的网站、手册、欢迎页及GIT仓库获得巨大曝光,同时提升企业的品牌声誉,也更好保障ThinkPHP的可持续发展。
|
||
|
||
[](https://www.thinkphp.cn/sponsor/special)
|
||
|
||
[](https://www.thinkphp.cn/sponsor)
|
||
|
||
## 安装
|
||
|
||
~~~
|
||
composer create-project topthink/think tp
|
||
~~~
|
||
|
||
启动服务
|
||
|
||
~~~
|
||
cd tp
|
||
php think run
|
||
~~~
|
||
|
||
然后就可以在浏览器中访问
|
||
|
||
~~~
|
||
http://localhost:8000
|
||
~~~
|
||
|
||
如果需要更新框架使用
|
||
~~~
|
||
composer update topthink/framework
|
||
~~~
|
||
|
||
## 命名规范
|
||
|
||
`ThinkPHP`遵循PSR-2命名规范和PSR-4自动加载规范。
|
||
|
||
## 参与开发
|
||
|
||
直接提交PR或者Issue即可
|
||
|
||
## 版权信息
|
||
|
||
ThinkPHP遵循Apache2开源协议发布,并提供免费使用。
|
||
|
||
本项目包含的第三方源码和二进制文件之版权信息另行标注。
|
||
|
||
版权所有Copyright © 2006-2023 by ThinkPHP (http://thinkphp.cn) All rights reserved。
|
||
|
||
ThinkPHP® 商标和著作权所有者为上海顶想信息科技有限公司。
|
||
|
||
更多细节参阅 [LICENSE.txt](LICENSE.txt)
|