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

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

vkoori/jwt
==========

Integration of adhocore/jwt library for laravel/lumen.

1.0.0(3y ago)07961PHPPHP &gt;=8.1

Since Mar 23Pushed 3y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (2)Versions (2)Used By (1)

Installation
============

[](#installation)

```
composer require vkoori/jwt
```

Doc
===

[](#doc)

By using this library, in addition to the features of `adhocore/jwt`, you can also benefit from `blacklist` and `refresh token`.

You need to add the following to the env file:

```
JWT_BLACK_LIST=false
JWT_KEY=secret
JWT_ALGO=HS256
JWT_MAX_AGE=3600
JWT_LEEWAY=0

```

Sample
======

[](#sample)

```
(new JWT)->encode(payload: [], header: []);
(new JWT)->decode(token: '', verify: true);
(new JWT)->refresh(token: '');
(new JWT)->expire(token: '');

```

> [adhocore/jwt documention](https://github.com/adhocore/php-jwt/blob/main/README.)

Powered By [![Koorosh safe Ashrafi](https://camo.githubusercontent.com/450393b2b1a4cdbe23d46d1fd62131a138ce3a99618583220789e0a2d91ba903/68747470733a2f2f6c68332e676f6f676c6575736572636f6e74656e742e636f6d2f612d2f414f683134476755587a7448316f353055514c4e41536d726e6a4f794837364267734c514b6364467149574d38773d7339362d63)](https://camo.githubusercontent.com/450393b2b1a4cdbe23d46d1fd62131a138ce3a99618583220789e0a2d91ba903/68747470733a2f2f6c68332e676f6f676c6575736572636f6e74656e742e636f6d2f612d2f414f683134476755587a7448316f353055514c4e41536d726e6a4f794837364267734c514b6364467149574d38773d7339362d63)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

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

1151d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/87c1574170082a3c779cca97f90846e478dcc46114fc66480fbd04975b71a746?d=identicon)[vkoori](/maintainers/vkoori)

---

Top Contributors

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

---

Tags

jwtPGP

### Embed Badge

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

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

###  Alternatives

[firebase/php-jwt

A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.

9.8k445.7M2.1k](/packages/firebase-php-jwt)[lcobucci/jwt

A simple library to work with JSON Web Token and JSON Web Signature

7.5k316.6M895](/packages/lcobucci-jwt)[tymon/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

11.5k49.1M350](/packages/tymon-jwt-auth)[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[web-token/jwt-framework

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

94518.9M77](/packages/web-token-jwt-framework)[php-open-source-saver/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

8359.8M53](/packages/php-open-source-saver-jwt-auth)

PHPackages © 2026

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