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

ActiveLibrary

cosmostail/x-jwt
================

Inspired by JWT protocol, X-JWT is designed to use AWS KMS to securly encrypt and decrypt data.

261PHP

Since Aug 14Pushed 8y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

### Models

[](#models)

```
//Headers will be saved as plain text
{
    alg: string, //the encrpt algorithm, required
    iss: string, //the issuer
    aud: string, //the audience, optional
    iv: string, //the tnitialization vector
    iat: int, //issue time
    exp: int, //# of seconds after the token expired,
    key: string, //data key generated by aws kms
}

//Payload will be save as encrpted data. You CAN save more than 4k of data.
{
    //Your data
}

//Signiture

```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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/734c4a5502142de0958b3e298555f3991ee0fd3203995dfa8c0c218835e428f8?d=identicon)[swang](/maintainers/swang)

---

Top Contributors

[![cosmostail](https://avatars.githubusercontent.com/u/2172362?v=4)](https://github.com/cosmostail "cosmostail (1 commits)")

### Embed Badge

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

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

PHPackages © 2026

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