PHPackages                             cosmonova-rnd/jwt-guard - 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. cosmonova-rnd/jwt-guard

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

cosmonova-rnd/jwt-guard
=======================

Guard JWT Authenticator for Symfony

1.1.0(7y ago)0764MITPHP

Since Feb 12Pushed 5y ago1 watchersCompare

[ Source](https://github.com/CosmonovaRnD/JWTGuard)[ Packagist](https://packagist.org/packages/cosmonova-rnd/jwt-guard)[ RSS](/packages/cosmonova-rnd-jwt-guard/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (3)Versions (3)Used By (0)

Symfony Guard JWT Authenticator
===============================

[](#symfony-guard-jwt-authenticator)

Installing
----------

[](#installing)

- Install package using composer

> composer require cosmonova-rnd/jwt-guard

Configuring
-----------

[](#configuring)

- Configure environment variables `JWT_PUBLIC_KEY` and `JWT_PASSPHRASE` with public key and passphrase
- Add to your firewall new authenticator

example:

```
security:
    main:
        anonymous: ~
        guard:
            authenticators:
                - CosmonovaRnD\JWTGuard\Security\JwtAuthenticator
```

Usage
-----

[](#usage)

Use symfony UserInterface to get authenticated user

@ Cosmonova | Research &amp; Development

###  Health Score

29

—

LowBetter than 63% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity64

Established project with proven stability

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

Total

2

Last Release

2866d ago

### Community

Maintainers

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

---

Tags

guardjwtsecuritysymfony

### Embed Badge

![Health badge](/badges/cosmonova-rnd-jwt-guard/health.svg)

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

###  Alternatives

[scheb/2fa

Two-factor authentication for Symfony applications (please use scheb/2fa-bundle to install)

572612.5k1](/packages/scheb-2fa)[escapestudios/wsse-authentication-bundle

Symfony2 bundle to implement WSSE authentication

1352.7M1](/packages/escapestudios-wsse-authentication-bundle)

PHPackages © 2026

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