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

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

derilkillms/mini-jwt
====================

Simple Genearete JWT

1.00(3y ago)010MITPHP

Since Mar 20Pushed 3y ago1 watchersCompare

[ Source](https://github.com/derilkillms/mini-jwt)[ Packagist](https://packagist.org/packages/derilkillms/mini-jwt)[ RSS](/packages/derilkillms-mini-jwt/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

mini-jwt
========

[](#mini-jwt)

Instalation
-----------

[](#instalation)

```
composer require derilkillms/mini-jwt

```

### Information

[](#information)

**About JWT : ([wikipedia](https://en.wikipedia.org/wiki/JSON_Web_Token))**JSON Web Token (JWT, pronounced /dʒɒt/, same as the word "jot"\[1\]) is a proposed Internet standard for creating data with optional signature and/or optional encryption whose payload holds JSON that asserts some number of claims. The tokens are signed either using a private secret or a public/private key.

....

**This Repository Based : PHP**

```
require_once(__DIR__ .'/vendor/autoload.php');

use Derilkillms\MiniJwt\Auth;

$auth = new Auth();

$header = [
	'alg' => 'HS256',
	'typ' => 'JWT'
];

$payloads =  [
	'user_id' => 1,
	'user_email' => "derilkillms@gmail.com",
	'exp' => time() + 3600
];

$secret_key= 'mysecret';

	$auth->generateJWT($payloads,$header,$secret_key); // generate jwt

	$auth->verifyJWT($token, $secret_key); //verify JWT
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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

Unknown

Total

1

Last Release

1154d ago

### Community

Maintainers

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

---

Top Contributors

[![derilkillms](https://avatars.githubusercontent.com/u/49135753?v=4)](https://github.com/derilkillms "derilkillms (9 commits)")

### Embed Badge

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

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

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

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