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)1880↓61.9%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 1w 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

36

—

LowBetter than 79% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity67

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

539d 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

[symfony/symfony

The Symfony PHP framework

31.4k87.4M2.2k](/packages/symfony-symfony)[tempest/framework

The PHP framework that gets out of your way.

2.3k37.6k21](/packages/tempest-framework)[nesbot/carbon

An API extension for DateTime that supports 281 different languages.

191716.3M6.0k](/packages/nesbot-carbon)[spomky-labs/otphp

A PHP library for generating one time passwords according to RFC 4226 (HOTP Algorithm) and the RFC 6238 (TOTP Algorithm) and compatible with Google Authenticator

1.5k51.8M192](/packages/spomky-labs-otphp)[ecotone/ecotone

Enterprise architecture layer for Laravel and Symfony — CQRS, Event Sourcing, Durable Workflows (Sagas, Orchestrators), Projections, and Outbox messaging via PHP attributes.

568591.1k63](/packages/ecotone-ecotone)[simplesamlphp/saml2

SAML2 PHP library from SimpleSAMLphp

30418.3M44](/packages/simplesamlphp-saml2)

PHPackages © 2026

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