PHPackages                             nixklai/envelopes - 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. nixklai/envelopes

ActiveLibrary

nixklai/envelopes
=================

Wrapper classes for JSON web token

00PHP

Since Sep 19Pushed 5y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

`Envelop`
=========

[](#envelop)

Why `Envelop`?
--------------

[](#why-envelop)

It is because I am lazy, and working with JWT (JWS and JWE) is somewhat challenging.

How?
----

[](#how)

### How to make a JSON Web Signature token?

[](#how-to-make-a-json-web-signature-token)

Just create a `ClearEnvelop` reader

```
use Envelopes\Sealers\ClearEnvelop;

$envelop = new ClearEnvelop();
$envelop->setIssuer('Alice')
        ->setAudience('Bob')
        ->setExpireIn(60) // Expire in next 60 seconds
        ->setJWTID(time());

echo $envelop->seal(); // Seal up the envelop and done!
```

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

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/dc33b5bc90b84232c639a16617a4c29dd0a031ab47566508cade367f884c6185?d=identicon)[nixklai](/maintainers/nixklai)

### Embed Badge

![Health badge](/badges/nixklai-envelopes/health.svg)

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

PHPackages © 2026

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