PHPackages                             swanflutter/native-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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. swanflutter/native-jwt

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

swanflutter/native-jwt
======================

A PHP 8.1+ JWT library (HMAC, RSA, ECDSA, EdDSA, RSASSA-PSS) with JWK/JWKS support, PSR-6 cached key sets, and built-in algorithm-confusion and alg=none protection.

v1.2.0(yesterday)09↑2900%MITPHP ^8.1

Since Jul 15Compare

[ Source](https://github.com/SwanFlutter/native-jwt)[ Packagist](https://packagist.org/packages/swanflutter/native-jwt)[ Docs](https://github.com/swanflutter/native-jwt)[ RSS](/packages/swanflutter-native-jwt/feed)WikiDiscussions Synced today

READMEChangelogDependencies (5)Versions (4)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/SwanFlutter/native-jwt).

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

1d ago

### Community

Maintainers

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

---

Tags

jwtrsaJWKauthtokenEd25519EdDSAfirebaseFCMstandalonehmacECDSAJWKSrsa-pss

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/swanflutter-native-jwt/health.svg)

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

###  Alternatives

[auth0/auth0-php

PHP SDK for Auth0 Authentication and Management APIs.

41021.9M94](/packages/auth0-auth0-php)[kreait/firebase-tokens

A library to work with Firebase tokens

23945.4M18](/packages/kreait-firebase-tokens)[auth0/login

Auth0 Laravel SDK. Straight-forward and tested methods for implementing authentication, and accessing Auth0's Management API endpoints.

2745.3M3](/packages/auth0-login)[adhocore/jwt

Ultra lightweight JSON web token (JWT) library for PHP5.5+.

3031.8M30](/packages/adhocore-jwt)[auth0/symfony

Symfony SDK for Auth0 Authentication and Management APIs.

128814.6k](/packages/auth0-symfony)[auth0/wordpress

WordPress Plugin for Auth0

18124.1k](/packages/auth0-wordpress)

PHPackages © 2026

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