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

ActiveLibrary

shencongcong/jwt
================

a easy jwt achieve

1.0.1(6y ago)035MITPHP

Since Aug 1Pushed 6y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (3)Used By (0)

 jwt
=====

[](#-jwt-)

 a easy jwt achieve.

Installing
----------

[](#installing)

```
$ composer require shencongcong/jwt -vvv
```

Usage
-----

[](#usage)

```
use Shencongcong\Jwt\Jwt

$jwt = \Shencongcong\Jwt\Jwt::getInstance('123');

$playLoad = ['user'=>'xxx','exp'=>1564726174];

// 生成token
$token = $jwt->getToken($playLoad);

// 获取负载
$getPlayLoad = $jwt->verifyToken($token);
```

TODO

Contributing
------------

[](#contributing)

You can contribute in one of three ways:

1. File bug reports using the [issue tracker](https://github.com/shencongcong/jwt/issues).
2. Answer questions or fix bugs on the [issue tracker](https://github.com/shencongcong/jwt/issues).
3. Contribute new features or update the wiki.

*The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.*

License
-------

[](#license)

MIT

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

2477d ago

### Community

Maintainers

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

---

Top Contributors

[![shencongcong](https://avatars.githubusercontent.com/u/17448136?v=4)](https://github.com/shencongcong "shencongcong (2 commits)")

### Embed Badge

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

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

PHPackages © 2026

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