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

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

kampfcaspar/jwt
===============

JWT PHP library abstraction layer

v0.4.1(2y ago)0131AGPL-3.0-or-laterPHPPHP ^8.1

Since Oct 31Pushed 2y ago1 watchersCompare

[ Source](https://github.com/KampfCaspar/jwt)[ Packagist](https://packagist.org/packages/kampfcaspar/jwt)[ Docs](https://github.com/KampfCaspar/JWT)[ RSS](/packages/kampfcaspar-jwt/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (9)Versions (7)Used By (1)

JWT abstraction library
=======================

[](#jwt-abstraction-library)

I often have the need to let a program just call an object to encode/decode a payload, without fussing about keys, algorithms etc.

The 'coder' object can be prepared and then given to a consumer that only has to call decode/encode.

This mini interface provides that functionality and can be used for JWS, JWE and Nested Webtoken.

It need an implementation, e.g. for web-token/jwt.

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity46

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.

###  Release Activity

Cadence

Every ~7 days

Total

6

Last Release

937d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/07fb3eff7bb7e8785686c24748a73b466cb6063186c9d7ec5ed5ec5eea8d3321?d=identicon)[kampfcaspar](/maintainers/kampfcaspar)

---

Top Contributors

[![KampfCaspar](https://avatars.githubusercontent.com/u/274391?v=4)](https://github.com/KampfCaspar "KampfCaspar (7 commits)")

---

Tags

jwtJWSJWE

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[symfony/symfony

The Symfony PHP framework

31.4k87.2M2.2k](/packages/symfony-symfony)[web-token/jwt-framework

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

95220.7M103](/packages/web-token-jwt-framework)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[web-auth/webauthn-lib

FIDO2/Webauthn Support For PHP

12310.5M135](/packages/web-auth-webauthn-lib)[simplesamlphp/saml2

SAML2 PHP library from SimpleSAMLphp

30418.0M43](/packages/simplesamlphp-saml2)[web-auth/webauthn-framework

FIDO2/Webauthn library for PHP and Symfony Bundle.

515100.5k3](/packages/web-auth-webauthn-framework)

PHPackages © 2026

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