PHPackages                             snanword/think\_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. [Caching](/categories/caching)
4. /
5. snanword/think\_framework

ActiveThink-framework[Caching](/categories/caching)

snanword/think\_framework
=========================

thinkphp framework(v5.1.35 update memcached)

v5.1.35(6y ago)041Apache-2.0PHPPHP &gt;=5.6.0CI failing

Since May 12Pushed 6y ago1 watchersCompare

[ Source](https://github.com/SnanBY/think_framework)[ Packagist](https://packagist.org/packages/snanword/think_framework)[ Docs](http://thinkphp.cn/)[ RSS](/packages/snanword-think-framework/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (8)Versions (2)Used By (1)

[![](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+。

安装
--

[](#安装)

使用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)

命名规范
----

[](#命名规范)

`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

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

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

2197d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/41289f3ee81e1d775b389c7b3631e29f1a6a8f0f46462fdf0ac235b43625dde6?d=identicon)[Snan](/maintainers/Snan)

---

Tags

memcachedtp5.1.35

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[tedivm/stash

The place to keep your cache.

9824.8M124](/packages/tedivm-stash)[tedivm/stash-bundle

Incorporates the Stash caching library into Symfony.

841.4M16](/packages/tedivm-stash-bundle)[sabre/cache

Simple cache abstraction layer implementing PSR-16

541.2M3](/packages/sabre-cache)[clickalicious/phpmemadmin

phpMemAdmin - Bringing Memcached to the web

5076.0k](/packages/clickalicious-phpmemadmin)[cache/memcached-adapter

A PSR-6 cache implementation using Memcached. This implementation supports tags

161.9M14](/packages/cache-memcached-adapter)[jamm/memory

Key-value storage in memory. As a storage can be used: APC, Redis, Memcache, Shared memory. All storage objects have one interface, so you can switch them without changing the working code. Contains PHP Redis client.

13326.3k1](/packages/jamm-memory)

PHPackages © 2026

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