PHPackages                             lhzptg/jose-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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. lhzptg/jose-jwt

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

lhzptg/jose-jwt
===============

JWT操作库

0119PHP

Since Feb 20Pushed 3y ago1 watchersCompare

[ Source](https://github.com/lhzptg/jose-jwt)[ Packagist](https://packagist.org/packages/lhzptg/jose-jwt)[ RSS](/packages/lhzptg-jose-jwt/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

JWT操作类库
=======

[](#jwt操作类库)

### composer 引入方法

[](#composer-引入方法)

修改composer.json文件，在autoload项，添加如下配置。路径"app/Library/josejwt"可以自由定义

```
{
    "name": "lhzptg/jose-jwt",
    "autoload": {
        "psr-4": {
            "josejwt\\": "app/Library/josejwt",  //定义“josejwt”类库存放路径./app/Library/josejwt，该路径可以自由定义
        }
    }
}

```

### 使用实例：

[](#使用实例)

```
use josejwt\josejwt;

$JWT = new josejwt();
$this->jwt = $JWT->verifyIdToken($idtoken, $publickey);

```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity23

Early-stage or recently created project

 Bus Factor1

Top contributor holds 80% 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://avatars.githubusercontent.com/u/2375319?v=4)[Michael Dearing](/maintainers/mcgd)[@mcgd](https://github.com/mcgd)

---

Top Contributors

[![lhzmc](https://avatars.githubusercontent.com/u/43516702?v=4)](https://github.com/lhzmc "lhzmc (4 commits)")[![lhzptg](https://avatars.githubusercontent.com/u/47801182?v=4)](https://github.com/lhzptg "lhzptg (1 commits)")

### Embed Badge

![Health badge](/badges/lhzptg-jose-jwt/health.svg)

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

###  Alternatives

[kartik-v/yii2-password

Useful password strength validation utilities for Yii Framework 2.0

761.2M17](/packages/kartik-v-yii2-password)

PHPackages © 2026

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