PHPackages                             topthink/think-sae - 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. topthink/think-sae

AbandonedArchivedLibrary

topthink/think-sae
==================

sae support for thinkphp5

v1.1(9y ago)1317.3k↓50%6[5 issues](https://github.com/top-think/think-sae/issues)1Apache-2.0PHP

Since Jul 25Pushed 8y ago3 watchersCompare

[ Source](https://github.com/top-think/think-sae)[ Packagist](https://packagist.org/packages/topthink/think-sae)[ RSS](/packages/topthink-think-sae/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)DependenciesVersions (3)Used By (1)

ThinkPHP 5.0 SAE扩展
==================

[](#thinkphp-50-sae扩展)

添加下面的配置参数即可

```
'log'=>[
	'type'=> '\think\sae\Log',
]

'template' => [
	'type'	=>	'Think',
	'compile_type'	=> '\think\sae\Template',

]
'cache'=>[
	'type'  =>  '\think\sae\Cache',
]

```

数据库配置文件database.php中修改为：

```
// 数据库类型
'type'        => 'mysql',
// 服务器地址
'hostname'    => SAE_MYSQL_HOST_M . ',' . SAE_MYSQL_HOST_S,
// 数据库名
'database'    => SAE_MYSQL_DB,
// 用户名
'username'    => SAE_MYSQL_USER,
// 密码
'password'    => SAE_MYSQL_PASS,
// 端口
'hostport'    => SAE_MYSQL_PORT,

```

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance12

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 54.5% 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

Every ~75 days

Total

2

Last Release

3509d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7858077?v=4)[topthink](/maintainers/topthink)[@topthink](https://github.com/topthink)

---

Top Contributors

[![liu21st](https://avatars.githubusercontent.com/u/1111670?v=4)](https://github.com/liu21st "liu21st (6 commits)")[![C0reFast](https://avatars.githubusercontent.com/u/1720904?v=4)](https://github.com/C0reFast "C0reFast (4 commits)")[![lilwil](https://avatars.githubusercontent.com/u/11472237?v=4)](https://github.com/lilwil "lilwil (1 commits)")

### Embed Badge

![Health badge](/badges/topthink-think-sae/health.svg)

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

PHPackages © 2026

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