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 1mo ago

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 60% 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

2918d 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)

578630.7k1](/packages/scheb-2fa)[scheb/2fa-bundle

A generic interface to implement two-factor authentication in Symfony applications

6914.0M62](/packages/scheb-2fa-bundle)[web-auth/webauthn-framework

FIDO2/Webauthn library for PHP and Symfony Bundle.

50570.7k1](/packages/web-auth-webauthn-framework)[auth0/symfony

Symfony SDK for Auth0 Authentication and Management APIs.

128738.1k](/packages/auth0-symfony)[web-auth/webauthn-symfony-bundle

FIDO2/Webauthn Security Bundle For Symfony

63397.4k6](/packages/web-auth-webauthn-symfony-bundle)[klapaudius/oauth-server-bundle

Symfony(5.x to 8.x) OAuth Server Bundle

15547.3k2](/packages/klapaudius-oauth-server-bundle)

PHPackages © 2026

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