PHPackages                             wubuze/think-jwt - 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. wubuze/think-jwt

ActiveLibrary

wubuze/think-jwt
================

08PHP

Since Aug 15Pushed 7y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

think-jwt thinkphp 使用的JWT工具

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

### 功能

[](#功能)

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

- JWT(Json Web Token)的支持
- Response 工具

### 文档

[](#文档)

Response 使用
-----------

[](#response-使用)

- use \\Wubuze\\ThinkJwt\\Http\\Response;
- $this-&gt;resSuccess('操作成功', \[\]);
- $this-&gt;resFail('操作失败');

JWT 使用
------

[](#jwt-使用)

更多信息请参考 [Wiki](https://github.com/wubuze/think-jwt/wiki) 文档

### 授权协议

[](#授权协议)

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

### 最后

[](#最后)

欢迎Star和Fork该项目

欢迎贡献代码

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

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

### Community

Maintainers

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

---

Top Contributors

[![wubuze](https://avatars.githubusercontent.com/u/22925125?v=4)](https://github.com/wubuze "wubuze (5 commits)")

### Embed Badge

![Health badge](/badges/wubuze-think-jwt/health.svg)

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

PHPackages © 2026

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