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

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

hbsolutions/jwt-auth
====================

Service for JWT authentication.

0575PHP

Since Jan 5Pushed 4y ago1 watchersCompare

[ Source](https://github.com/hbsolutions-ru/jwt-auth)[ Packagist](https://packagist.org/packages/hbsolutions/jwt-auth)[ RSS](/packages/hbsolutions-jwt-auth/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

jwt-auth
========

[](#jwt-auth)

Service for JWT authentication.

Installation
------------

[](#installation)

`composer require hbsolutions/jwt-auth`

Usage
-----

[](#usage)

Namespace: `HBS\JwtAuth`

### JWT Authentication

[](#jwt-authentication)

Service class name: `HBS\JwtAuth\Service\Jwt`

Needs to inject into constructor:

ObjectType (instance of)Logger`Psr\Log\LoggerInterface`Settings`HBS\JwtAuth\Immutable\Settings`Throws `HBS\JwtAuth\Exception\AuthenticationException` – child of the `\RuntimeException`.

### Web Authorization

[](#web-authorization)

Service class name: `HBS\JwtAuth\Service\WebAuthorization`

Needs to inject into constructor:

ObjectType (instance of)Logger`Psr\Log\LoggerInterface`JWT Service`HBS\JwtAuth\Service\Jwt`Authorization Service`HBS\JwtAuth\Service\AuthorizationServiceInterface`

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11571133?v=4)[hbsolutions](/maintainers/hbsolutions)[@HBSolutions](https://github.com/HBSolutions)

---

Top Contributors

[![hbsolutions-ru](https://avatars.githubusercontent.com/u/77727227?v=4)](https://github.com/hbsolutions-ru "hbsolutions-ru (10 commits)")

### Embed Badge

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

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

###  Alternatives

[kartik-v/yii2-password

Useful password strength validation utilities for Yii Framework 2.0

761.3M17](/packages/kartik-v-yii2-password)[vitalybaev/laravel5-dkim

Laravel 5/6 package for signing outgoing messages with DKIM.

3163.1k](/packages/vitalybaev-laravel5-dkim)

PHPackages © 2026

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