PHPackages                             shonnzong/think-api - 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. shonnzong/think-api

ActiveLibrary

shonnzong/think-api
===================

v0.2.1(8y ago)023MITPHPPHP &gt;=5.5.9

Since Sep 23Pushed 7y agoCompare

[ Source](https://github.com/shonnzong/think-api)[ Packagist](https://packagist.org/packages/shonnzong/think-api)[ RSS](/packages/shonnzong-think-api/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (3)DependenciesVersions (14)Used By (0)

[![Packagist Pre Release](https://camo.githubusercontent.com/ecf4b4a868f60fc1bd4db92785a879314210ca23b74b412113f9ba1599b6517e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7061636b61676973742d76312e302e302d2d62657461332d6f72616e67652e737667)](https://camo.githubusercontent.com/ecf4b4a868f60fc1bd4db92785a879314210ca23b74b412113f9ba1599b6517e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7061636b61676973742d76312e302e302d2d62657461332d6f72616e67652e737667)[![GitHub license](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://github.com/shonnzong/think-api/blob/master/LICENSE)

think-api 是给开发者提供的一套针对thinkphp5.0的API扩展工具，帮助开发者方便快捷的建造自己的API应用。

**该包是针对thinkphp5.0以上版本**

### 功能

[](#功能)

这个包提供了以下等工具：

- API版本管理
- 响应生成器
- 数据过滤器
- JWT(Json Web Token)的支持

### 文档

[](#文档)

更多信息请参考 [Wiki](https://github.com/czewail/thinp-api/wiki) 文档

### 授权协议

[](#授权协议)

本包使用的是 [MIT license](LICENSE)

### 最后

[](#最后)

欢迎Star和Fork该项目😄😄😄😄

欢迎贡献代码😄😄😄

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75.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

Every ~22 days

Recently: every ~12 days

Total

12

Last Release

2909d ago

Major Versions

v0.2.1 → v1.0.0-beta12017-10-08

PHP version history (2 changes)v0.0.1PHP &gt;=5.5.9

v1.0.0-beta2PHP &gt;=5.6

### Community

Maintainers

![](https://www.gravatar.com/avatar/81050a32899427be91669c3759645d1db7e0da873106facf2afae484b4c5fd43?d=identicon)[Shonnzong](/maintainers/Shonnzong)

---

Top Contributors

[![czewail](https://avatars.githubusercontent.com/u/14213748?v=4)](https://github.com/czewail "czewail (28 commits)")[![shonnzong](https://avatars.githubusercontent.com/u/21048602?v=4)](https://github.com/shonnzong "shonnzong (9 commits)")

### Embed Badge

![Health badge](/badges/shonnzong-think-api/health.svg)

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

PHPackages © 2026

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