PHPackages                             achertovsky/lib-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. [Security](/categories/security)
4. /
5. achertovsky/lib-jwt

ActiveLibrary[Security](/categories/security)

achertovsky/lib-jwt
===================

JWT POPO library

5.0.1(1y ago)1838↓50%PHPPHP ^8.3

Since Dec 27Pushed 1y ago2 watchersCompare

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

READMEChangelog (3)Dependencies (4)Versions (8)Used By (0)

User
====

[](#user)

Lib called to reduce hassle in projects with jwt. Expected to be convenient solution for the purpose.

usage
-----

[](#usage)

To check usage cases, please, refer to `tests/Service/JwtManagerTest.php`, `tests/Service/Functional.php`. Those tests explain how JwtManager should be used in your application.

Development
===========

[](#development)

install env
-----------

[](#install-env)

```
docker build -t lib-jwt .
docker run --rm -it -u $(id -u):$(id -g) -w /tmp -v ${PWD}:/tmp lib-jwt composer i

```

testing
-------

[](#testing)

```
docker run --rm -it -u $(id -u):$(id -g) -w /tmp -v ${PWD}:/tmp lib-jwt vendor/bin/phpunit

```

testing with coverage
---------------------

[](#testing-with-coverage)

```
docker run --rm -it -u $(id -u):$(id -g) -w /tmp -v ${PWD}:/tmp lib-jwt php -d pcov.enabled=1 -d pcov.directory=/tmp vendor/bin/phpunit --coverage-text

```

testing with xdebugging (xdebug on 9001 by default)
---------------------------------------------------

[](#testing-with-xdebugging-xdebug-on-9001-by-default)

```
docker run --rm -it --add-host=host.docker.internal:host-gateway -u $(id -u):$(id -g) -w /tmp -v ${PWD}:/tmp lib-jwt vendor/bin/phpunit

```

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance43

Moderate activity, may be stable

Popularity18

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity65

Established project with proven stability

 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 ~132 days

Recently: every ~174 days

Total

7

Last Release

447d ago

Major Versions

1.0.0 → 2.0.02023-02-07

2.0.0 → 3.0.02023-04-02

3.0.1 → 4.0.02024-07-13

4.0.0 → 5.0.02025-01-28

PHP version history (2 changes)1.0.0PHP ^8.1

4.0.0PHP ^8.3

### Community

Maintainers

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

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[defuse/php-encryption

Secure PHP Encryption Library

3.9k162.4M214](/packages/defuse-php-encryption)[roave/security-advisories

Prevents installation of composer packages with known security vulnerabilities: no API, simply require it

2.9k97.3M6.4k](/packages/roave-security-advisories)[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k16.7M113](/packages/mews-purifier)[robrichards/xmlseclibs

A PHP library for XML Security

41278.1M118](/packages/robrichards-xmlseclibs)[bjeavons/zxcvbn-php

Realistic password strength estimation PHP library based on Zxcvbn JS

86917.5M63](/packages/bjeavons-zxcvbn-php)[illuminate/encryption

The Illuminate Encryption package.

9229.7M280](/packages/illuminate-encryption)

PHPackages © 2026

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