PHPackages                             mowzss/framework - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. mowzss/framework

ActiveThink-framework[Framework](/categories/framework)

mowzss/framework
================

the new thinkphp framework

5.1.42(1y ago)0452Apache-2.0PHPPHP &gt;=7.2.0

Since Aug 8Pushed 1y ago1 watchersCompare

[ Source](https://github.com/mowzss/framework)[ Packagist](https://packagist.org/packages/mowzss/framework)[ Docs](http://thinkphp.cn/)[ RSS](/packages/mowzss-framework/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (8)Versions (2)Used By (2)

[![](https://camo.githubusercontent.com/3c1a0317ee5a94af211fecd0e038e6471ca1c9be462eee74f0016f24e62d296b/68747470733a2f2f626f782e6b616e636c6f75642e636e2f3561306161613639613566663432363537623563343731356633643439323231)](https://camo.githubusercontent.com/3c1a0317ee5a94af211fecd0e038e6471ca1c9be462eee74f0016f24e62d296b/68747470733a2f2f626f782e6b616e636c6f75642e636e2f3561306161613639613566663432363537623563343731356633643439323231)

ThinkPHP 5.1（LTS） —— 12载初心，你值得信赖的PHP框架
======================================

[](#thinkphp-51lts--12载初心你值得信赖的php框架)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/571a6fe933d1ec5b4ac81f9321be67a60d297225f7f8fc898ad366f780300a72/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f746f702d7468696e6b2f6672616d65776f726b2f6261646765732f7175616c6974792d73636f72652e706e673f623d352e31)](https://scrutinizer-ci.com/g/top-think/framework/?branch=5.1)[![Build Status](https://camo.githubusercontent.com/29ece23cb91e7cb552c6ce97968b264470afcc509366ce9ce9f16ad571ba0194/68747470733a2f2f7472617669732d63692e6f72672f746f702d7468696e6b2f6672616d65776f726b2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/top-think/framework)[![Total Downloads](https://camo.githubusercontent.com/818487331147fd20e8c4016c154832dd29db27d0b2033bddbad1a2bab6b0d766/68747470733a2f2f706f7365722e707567782e6f72672f746f707468696e6b2f6672616d65776f726b2f646f776e6c6f616473)](https://packagist.org/packages/topthink/framework)[![Latest Stable Version](https://camo.githubusercontent.com/1993beb2fc9ac531bda02b3b3bfe11430ef7712b3095c65cd2e55c859a5ebce3/68747470733a2f2f706f7365722e707567782e6f72672f746f707468696e6b2f6672616d65776f726b2f762f737461626c65)](https://packagist.org/packages/topthink/framework)[![PHP Version](https://camo.githubusercontent.com/132eb2fad8bc173f1489c3481e81763d1a02b392a4e55bd35eb0a1fc8b5d1ee5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344352e362d3838393242462e737667)](http://www.php.net/)[![License](https://camo.githubusercontent.com/0f43fddc07ecf7a85a9c76f8ef282e678ca990e7d1dd474b37cc314de6e596dd/68747470733a2f2f706f7365722e707567782e6f72672f746f707468696e6b2f6672616d65776f726b2f6c6963656e7365)](https://packagist.org/packages/topthink/framework)

ThinkPHP5.1对底层架构做了进一步的改进，减少依赖，其主要特性包括：

- 采用容器统一管理对象
- 支持Facade
- 更易用的路由
- 注解路由支持
- 路由跨域请求支持
- 验证类增强
- 配置和路由目录独立
- 取消系统常量
- 类库别名机制
- 模型和数据库增强
- 依赖注入完善
- 支持PSR-3日志规范
- 中间件支持（`V5.1.6+`）
- 支持`Swoole`/`Workerman`运行（`V5.1.18+`）

官方已经正式宣布`5.1.27`版本为LTS版本。

### 废除的功能：

[](#废除的功能)

- 聚合模型
- 内置控制器扩展类
- 模型自动验证

> ThinkPHP5.1的运行环境要求PHP5.6+ 兼容PHP8.0。

安装
--

[](#安装)

使用composer安装

```
composer create-project topthink/think tp

```

启动服务

```
cd tp
php think run

```

然后就可以在浏览器中访问

```
http://localhost:8000

```

更新框架

```
composer update topthink/framework

```

在线手册
----

[](#在线手册)

- [完全开发手册](https://www.kancloud.cn/manual/thinkphp5_1/content)
- [升级指导](https://www.kancloud.cn/manual/thinkphp5_1/354155)

官方服务
----

[](#官方服务)

- [应用服务市场](https://market.topthink.com/)
- [ThinkAPI——统一API服务](https://docs.topthink.com/think-api)

命名规范
----

[](#命名规范)

`ThinkPHP5.1`遵循PSR-2命名规范和PSR-4自动加载规范。

参与开发
----

[](#参与开发)

请参阅 [ThinkPHP5 核心框架包](https://github.com/top-think/framework)。

版权信息
----

[](#版权信息)

ThinkPHP遵循Apache2开源协议发布，并提供免费使用。

本项目包含的第三方源码和二进制文件之版权信息另行标注。

版权所有Copyright © 2006-2018 by ThinkPHP ()

All rights reserved。

ThinkPHP® 商标和著作权所有者为上海顶想信息科技有限公司。

更多细节参阅 [LICENSE.txt](LICENSE.txt)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 Bus Factor1

Top contributor holds 85.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

649d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b745e7976e2389a0f30a2abe72fcb0fecc24adc4f2d8a8c34df8c43d6b40d987?d=identicon)[kkwaps](/maintainers/kkwaps)

---

Top Contributors

[![sunBoyGit](https://avatars.githubusercontent.com/u/234315545?v=4)](https://github.com/sunBoyGit "sunBoyGit (6 commits)")[![mowzss](https://avatars.githubusercontent.com/u/45760139?v=4)](https://github.com/mowzss "mowzss (1 commits)")

---

Tags

frameworkormthinkphp

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/mowzss-framework/health.svg)

```
[![Health](https://phpackages.com/badges/mowzss-framework/health.svg)](https://phpackages.com/packages/mowzss-framework)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
