PHPackages                             web-token/jwt-library - 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. web-token/jwt-library

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

web-token/jwt-library
=====================

JWT library

4.1.7(2mo ago)2017.7M↑14.5%920MITPHPPHP &gt;=8.2

Since Feb 22Pushed 1w ago2 watchersCompare

[ Source](https://github.com/web-token/jwt-library)[ Packagist](https://packagist.org/packages/web-token/jwt-library)[ Docs](https://github.com/web-token)[ GitHub Sponsors](https://github.com/Spomky)[ Patreon](https://www.patreon.com/FlorentMorselli)[ RSS](/packages/web-token-jwt-library/feed)WikiDiscussions 4.1.x Synced 1w ago

READMEChangelogDependencies (9)Versions (38)Used By (20)Security (4)

PHP JWT Library
===============

[](#php-jwt-library)

This repository is a sub repository of [the JWT Framework](https://github.com/web-token/jwt-framework) project and is READ ONLY.

**Please do not submit any Pull Request here.**You should go to [the main repository](https://github.com/web-token/jwt-framework) instead.

Documentation
=============

[](#documentation)

The official documentation is available as

Licence
=======

[](#licence)

This software is release under [MIT licence](LICENSE).

###  Health Score

66

—

FairBetter than 99% of packages

Maintenance92

Actively maintained with recent releases

Popularity59

Moderate usage in the ecosystem

Community37

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 85.2% 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 ~24 days

Total

38

Last Release

12d ago

Major Versions

3.4.4 → 4.0.02024-06-24

3.4.6 → 4.0.12024-07-09

3.4.8 → 4.0.52025-08-05

3.4.9 → 4.1.12025-11-17

3.4.10 → 4.0.72026-06-06

PHP version history (3 changes)3.3.0PHP &gt;=8.1

4.0.0PHP &gt;=8.3

4.0.1PHP &gt;=8.2

### Community

Maintainers

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

---

Top Contributors

[![Spomky](https://avatars.githubusercontent.com/u/1091072?v=4)](https://github.com/Spomky "Spomky (52 commits)")[![stof](https://avatars.githubusercontent.com/u/439401?v=4)](https://github.com/stof "stof (2 commits)")[![qdequippe](https://avatars.githubusercontent.com/u/3193300?v=4)](https://github.com/qdequippe "qdequippe (1 commits)")[![qkdreyer](https://avatars.githubusercontent.com/u/717869?v=4)](https://github.com/qkdreyer "qkdreyer (1 commits)")[![szepeviktor](https://avatars.githubusercontent.com/u/952007?v=4)](https://github.com/szepeviktor "szepeviktor (1 commits)")[![temp](https://avatars.githubusercontent.com/u/216128?v=4)](https://github.com/temp "temp (1 commits)")[![crocodele](https://avatars.githubusercontent.com/u/1522694?v=4)](https://github.com/crocodele "crocodele (1 commits)")[![tscni](https://avatars.githubusercontent.com/u/32767367?v=4)](https://github.com/tscni "tscni (1 commits)")[![nicolas-grekas](https://avatars.githubusercontent.com/u/243674?v=4)](https://github.com/nicolas-grekas "nicolas-grekas (1 commits)")

---

Tags

josejotjwajwejwkjwksetjwsjwtrfc7515rfc7516rfc7517rfc7518rfc7519rfc7520jwtsymfonybundleJWSJWEJOSEjwaJWKJWKSetJotRFC7515RFC7516RFC7517RFC7518RFC7519RFC7520

### Embed Badge

![Health badge](/badges/web-token-jwt-library/health.svg)

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

###  Alternatives

[web-token/jwt-framework

JSON Object Signing and Encryption library for PHP and Symfony Bundle.

95221.2M117](/packages/web-token-jwt-framework)[web-token/jwt-bundle

JWT Bundle of the JWT Framework.

132.8M8](/packages/web-token-jwt-bundle)

PHPackages © 2026

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